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

Function init_sco_cons

sys/share/unixtty.c:396–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396void
397init_sco_cons(void)
398{
399#ifdef TTY_GRAPHICS
400 if (WINDOWPORT(tty) && sco_flag_console) {
401 atexit(sco_mapon);
402 sco_mapoff();
403 load_symset("IBMGraphics", PRIMARYSET);
404 load_symset("RogueIBM", ROGUESET);
405 switch_symbols(TRUE);
406 if (has_colors())
407 iflags.use_color = TRUE;
408 }
409#endif
410}
411#endif /* _M_UNIX */
412
413#ifdef __linux__ /* via Jesse Thilo and Ben Gertzfield */

Callers 2

mainFunction · 0.85
libnhmain.cFile · 0.85

Calls 4

atexitFunction · 0.85
sco_mapoffFunction · 0.85
load_symsetFunction · 0.85
switch_symbolsFunction · 0.85

Tested by

no test coverage detected