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

Function introff

sys/share/unixtty.c:334–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334void introff(void) /* disable kbd interrupts if required*/
335{
336#ifdef TTY_GRAPHICS
337 /* Ugly hack to keep from changing tty modes for non-tty games -dlc */
338 if (WINDOWPORT(tty) && curttyb2.intr_sym != nonesuch) {
339 curttyb2.intr_sym = nonesuch;
340 setctty();
341 }
342#endif
343}
344
345#ifdef _M_UNIX /* SCO UNIX (3.2.4), from Andreas Arens */
346#include <sys/console.h>

Callers

nothing calls this directly

Calls 1

setcttyFunction · 0.70

Tested by

no test coverage detected