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

Function cl_end

win/tty/termcap.c:647–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void
648cl_end(void)
649{
650 if (CE) {
651 xputs(CE);
652 } else { /* no-CE fix - free after Harold Rynes */
653 int cx = ttyDisplay->curx + 1;
654
655 /* this looks terrible, especially on a slow terminal
656 but is better than nothing */
657 while (cx < CO) {
658 (void) xputc(' ');
659 cx++;
660 }
661 tty_curs(BASE_WINDOW, (int) ttyDisplay->curx + 1,
662 (int) ttyDisplay->cury);
663 }
664}
665
666void
667term_clear_screen(void)

Callers 13

redotoplinFunction · 0.70
show_toplFunction · 0.70
addtoplFunction · 0.70
moreFunction · 0.70
topl_putsymFunction · 0.70
cl_eosFunction · 0.70
tty_asknameFunction · 0.70
tty_clear_nhwindowFunction · 0.70
process_menu_windowFunction · 0.70
process_text_windowFunction · 0.70
tty_putstrFunction · 0.70
docornerFunction · 0.70

Calls 3

tty_cursFunction · 0.85
xputsFunction · 0.70
xputcFunction · 0.70

Tested by

no test coverage detected