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

Function intron

sys/share/unixtty.c:322–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322void intron(void) /* enable kbd interrupts if enabled when game started */
323{
324#ifdef TTY_GRAPHICS
325 /* Ugly hack to keep from changing tty modes for non-tty games -dlc */
326 if (WINDOWPORT(tty) && intr_char != nonesuch
327 && curttyb2.intr_sym != '\003') {
328 curttyb2.intr_sym = '\003';
329 setctty();
330 }
331#endif
332}
333
334void introff(void) /* disable kbd interrupts if required*/
335{

Callers

nothing calls this directly

Calls 1

setcttyFunction · 0.70

Tested by

no test coverage detected