partial input or to cancel; "Who are you?" prompt was willing to name
a character "^["; have the popup version of getlin() fake the usual
ESC handling, but player has to type <escape><return> for that to work
+curses: menu headings didn't use default text color
Qt: at Xp levels above 20 with 'showexp' On, the combined status field
"Level:NN/nnnnnnnn" was too big and truncated by a char at each end
Qt: searching a text window for something that wasn't found and then searching
start_col += 2;
}
#endif
- color = NO_COLOR;
+ color = NONE;
menu_color = iflags.use_menu_color
&& get_menu_coloring(menu_item_ptr->str, &color, &attr);
if (menu_color) {
attr = curses_convert_attr(attr);
- if (color != NO_COLOR || attr != A_NORMAL)
+ if (color != NONE || attr != A_NORMAL)
curses_menu_color_attr(win, color, attr, ON);
} else {
attr = menu_item_ptr->attr;
- if (color != NO_COLOR || attr != A_NORMAL)
+ if (color != NONE || attr != A_NORMAL)
curses_toggle_color_attr(win, color, attr, ON);
}
free(tmpstr);
}
}
- if (color != NO_COLOR || attr != A_NORMAL) {
+ if (color != NONE || attr != A_NORMAL) {
if (menu_color)
curses_menu_color_attr(win, color, attr, OFF);
else