MCPcopy Index your code
hub / github.com/NetHack/NetHack / term_clear_screen

Function term_clear_screen

win/tty/termcap.c:666–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666void
667term_clear_screen(void)
668{
669 /* note: if CL is null, then termcap initialization failed,
670 * so don't attempt screen-oriented I/O during final cleanup.
671 */
672 if (CL) {
673 xputs(CL);
674 home();
675 /* set remembered data to all spaces */
676 erase_tty_screen();
677 }
678}
679
680void
681home(void)

Callers 9

term_end_screenFunction · 0.70
resize_ttyFunction · 0.70
erase_menu_or_textFunction · 0.70
tty_clear_nhwindowFunction · 0.70
process_menu_windowFunction · 0.70
process_text_windowFunction · 0.70
tty_display_nhwindowFunction · 0.70
tty_destroy_nhwindowFunction · 0.70
erase_tty_screenFunction · 0.70

Calls 3

erase_tty_screenFunction · 0.85
xputsFunction · 0.70
homeFunction · 0.70

Tested by

no test coverage detected