276 if (byte < 256 && isprint (byte)) |
276 if (byte < 256 && isprint (byte)) |
277 { |
277 { |
278 mvaddch (y, x, char (byte)); |
278 mvaddch (y, x, char (byte)); |
279 ++x; |
279 ++x; |
280 } |
280 } |
281 else if (byte >= RLINE_ON_COLOR and byte < RLINE_ON_BOLD) |
281 else if (byte >= RLINE_ON_COLOR and byte < (RLINE_ON_COLOR + 16)) |
282 { |
282 { |
283 auto attrfunction = (byte < RLINE_OFF_COLOR ? &attron : &attroff); |
283 auto attrfunction = (byte < RLINE_OFF_COLOR ? &attron : &attroff); |
284 (*attrfunction) (color_pair (Color ((byte - RLINE_ON_COLOR) & 7), DEFAULT)); |
284 (*attrfunction) (color_pair (Color ((byte - RLINE_ON_COLOR) & 7), DEFAULT)); |
285 } |
285 } |
286 else switch (byte) |
286 else switch (byte) |