MCPcopy Create free account
hub / github.com/NetHack/NetHack / init_linux_cons

Function init_linux_cons

sys/share/unixtty.c:454–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454void
455init_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
468DISABLE_WARNING_FORMAT_NONLITERAL

Callers 2

mainFunction · 0.85
libnhmain.cFile · 0.85

Calls 2

atexitFunction · 0.85
linux_mapoffFunction · 0.85

Tested by

no test coverage detected