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

Function gettty

sys/windows/consoletty.c:898–905  ·  view source on GitHub ↗

* Called after returning from ! or ^Z */

Source from the content-addressed store, hash-verified

896 * Called after returning from ! or ^Z
897 */
898void
899gettty(void)
900{
901 erase_char = '\b';
902 kill_char = 21; /* cntl-U */
903 iflags.cbreak = TRUE;
904 init_ttycolor();
905}
906
907/* reset terminal to original state */
908void

Callers

nothing calls this directly

Calls 1

init_ttycolorFunction · 0.85

Tested by

no test coverage detected