You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
calling use_default_colors() after start_color() in src/misc.c
calling init_pair(0, COLOR_WHITE, COLOR_BLACK) in src/interactive.c
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:
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: