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

Function setftty

outdated/sys/mac/mttymain.c:530–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528}
529
530void
531setftty(void)
532{
533 long flag;
534
535 /* Buffered output for the game */
536 get_tty_attrib(_mt_window, TTY_ATTRIB_FLAGS, &flag);
537 flag &= ~TA_ALWAYS_REFRESH;
538 flag |= TA_INHIBIT_VERT_SCROLL; /* don't scroll */
539 set_tty_attrib(_mt_window, TTY_ATTRIB_FLAGS, flag);
540 iflags.cbreak = 1;
541}
542
543void
544term_startup(int *width, int *height)

Callers

nothing calls this directly

Calls 2

get_tty_attribFunction · 0.85
set_tty_attribFunction · 0.85

Tested by

no test coverage detected