| 452 | } |
| 453 | |
| 454 | void |
| 455 | init_linux_cons(void) |
| 456 | { |
| 457 | #ifdef TTY_GRAPHICS |
| 458 | if (WINDOWPORT(tty) && linux_flag_console) { |
| 459 | atexit(linux_mapon); |
| 460 | linux_mapoff(); |
| 461 | if (has_colors()) |
| 462 | iflags.use_color = TRUE; |
| 463 | } |
| 464 | #endif |
| 465 | } |
| 466 | #endif /* __linux__ */ |
| 467 | |
| 468 | DISABLE_WARNING_FORMAT_NONLITERAL |
no test coverage detected