Curses: swap the grey and no-color initialization
The grey color was initialized as default foreground color, and no-color as white.
This commit is contained in:
@@ -310,7 +310,7 @@ curses_init_nhcolors(void)
|
||||
init_pair(5, COLOR_BLUE, -1);
|
||||
init_pair(6, COLOR_MAGENTA, -1);
|
||||
init_pair(7, COLOR_CYAN, -1);
|
||||
init_pair(8, -1, -1);
|
||||
init_pair(8, COLOR_WHITE, -1);
|
||||
|
||||
{
|
||||
int i;
|
||||
@@ -351,7 +351,7 @@ curses_init_nhcolors(void)
|
||||
init_pair(1, COLOR_BLACK + 8, -1);
|
||||
}
|
||||
# endif
|
||||
init_pair(9, COLOR_WHITE, -1);
|
||||
init_pair(9, -1, -1);
|
||||
init_pair(10, COLOR_RED + 8, -1);
|
||||
init_pair(11, COLOR_GREEN + 8, -1);
|
||||
init_pair(12, COLOR_YELLOW + 8, -1);
|
||||
|
||||
Reference in New Issue
Block a user