-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tmux messing with highlighting #3099
Comments
It might be caused by your terminal not supporting italics (or tmux not picking up support for it from your terminal) since the comments are italicized. Could you try two other themes with and without italics and see what happens? |
It works for me with
in my tmux.conf |
That fixed it, thanks! |
Dropping a comment for Mac users arriving here through google:
> ncurses5.4-config --version
5.7.20081102
> infocmp tmux
infocmp: couldn't open terminfo file (null).
> echo -e "\e[3mitalic\e[0m" On iterm2 or alacritty this will render: but in tmux, inside any of these virtual terminals: this means that helix wont look right, like the screenshots on from OP or this: inside tmux: with only alacritty: Possible fix: https://gpanders.com/blog/the-definitive-guide-to-using-tmux-256color-on-macos/ |
|
I followed the instructions in: to set up the terminfo for tmux:
and set "tmux" as my terminal. hx displays the colors correctly but I still get errors running some applications:
|
Setting this caused Backspace Bad Behavior for me,
instead |
This one worked for me. Replace
Restart tmux. |
So I have this problem again, because I want to use tmux's control mode ( Anybody have an idea how to fix this? |
I had trouble loading Helix custom themes inside tmux/byobu, and the fix for me was to add exactly the following in
|
Summary
When I run helix inside a tmux session all my comments get highlighted grey.
Then outside a tumx session the issue is gone...
Reproduction Steps
Install tmux using: sudo apt get tmux
Install helix with :
brew tap helix-editor/helix
brew install helix
open a supported file and make a comment
(this also happens in .toml files ect)
I have tried uninstalling both helix and tmux and removing all config files but I can't seem to find the cause of the issue
Helix log
log is empty
Platform
Linux ubuntu
Terminal Emulator
gnome40 terminal
Helix Version
helix 22.05 (27609f5)
The text was updated successfully, but these errors were encountered: