Themes seem to sometimes not work through WSL #7163
-
SummaryWhen running Helix within WSL, through a terminal emulator, such as the new Windows terminal emulator, or Alacritty, then themes seem to not be applied, and instead I get only black-and-white styling: However, when I access helix through WSL, from, for example an integrated terminal within VS Code, themes work fine! Not sure what's going on here. The runtime files, and themes definitely seem to be there, since VS Code's terminal is able to pick up the colors. Reproduction StepsI tried installing from package manager, as well as building from lates master, then switched to latest 23.05. I also tried using both I expected this to happen: Themes to work, regardless of the terminal emulator I used. Instead, this happened: Theme colors only seemed to be applied when attaching through VS Code's integrated terminal. Helix log~/.cache/helix/helix.log
PlatformUbuntu through WSL on Windows 11 Terminal EmulatorAlacritty v0.11.0 and Windows Terminal version 1.16.10262.0 Helix Versionhelix 23.05 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 21 replies
-
Looking at the log attached above, I noticed it says true color support is required, which is strange, because both Alacritty and Windows Terminal support true color...so not sure how to trubleshoot this. |
Beta Was this translation helpful? Give feedback.
-
It's not picked up when running WSL. You can override detection in your config: https://docs.helix-editor.com/configuration.html |
Beta Was this translation helpful? Give feedback.
-
The selected answer did not help me, but here's my solution. To debug open hx and type |
Beta Was this translation helpful? Give feedback.
It's not picked up when running WSL. You can override detection in your config: https://docs.helix-editor.com/configuration.html