-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels