Fri, 24 Jul 2015 04:31:17 +0300
And another refactor on that..
sources/interface.cpp | file | annotate | diff | comparison | revisions |
--- a/sources/interface.cpp Fri Jul 24 04:30:17 2015 +0300 +++ b/sources/interface.cpp Fri Jul 24 04:31:17 2015 +0300 @@ -278,7 +278,7 @@ mvaddch (y, x, char (byte)); ++x; } - else if (byte >= RLINE_ON_COLOR and byte < RLINE_ON_BOLD) + else if (byte >= RLINE_ON_COLOR and byte < (RLINE_ON_COLOR + 16)) { auto attrfunction = (byte < RLINE_OFF_COLOR ? &attron : &attroff); (*attrfunction) (color_pair (Color ((byte - RLINE_ON_COLOR) & 7), DEFAULT));