-
Notifications
You must be signed in to change notification settings - Fork 28
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
Wrong colors when inside a terminal multiplexer (tmux) #39
Comments
It used to have use_default_colors() but I removed it because people complained. |
I don't recall what was the initial problem. I will test it in a side branch and rethink it for next release. |
Thanks for raising the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whenever I open bitwise inside tmux my default colors are swapped to black foreground on white background. I do believe that's because some color resetting[1] happening after we call start_colors(). I've found two solutions:
I think 1) is the right way to deal with this problem because it will respect whatever colorscheme is being used. It's trivial to change, should I make a pull request?
[1] curs_color(3X) says that It restores the colors on the terminal to the values they had when the terminal was just turned on.
The text was updated successfully, but these errors were encountered: