| 1283 | |
| 1284 | #ifdef CHANGE_COLOR |
| 1285 | static void |
| 1286 | curses_change_color(int color, long rgb, int reverse UNUSED) |
| 1287 | { |
| 1288 | short r, g, b; |
| 1289 | |
| 1290 | if (!can_change_color()) |
| 1291 | return; |
| 1292 | |
| 1293 | r = (rgb >> 16) & 0xFF; |
| 1294 | g = (rgb >> 8) & 0xFF; |
| 1295 | b = rgb & 0xFF; |
| 1296 | init_color(color % 16, r * 4, g * 4, b * 4); |
| 1297 | } |
| 1298 | |
| 1299 | static char * |
| 1300 | curses_get_color_string(void) |
nothing calls this directly
no outgoing calls
no test coverage detected