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

Function home

win/tty/termcap.c:680–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680void
681home(void)
682{
683 if (HO)
684 xputs(HO);
685 else if (nh_CM)
686 xputs(tgoto(nh_CM, 0, 0));
687 else
688 tty_curs(BASE_WINDOW, 1, 0); /* using UP ... */
689 ttyDisplay->curx = ttyDisplay->cury = 0;
690}
691
692void
693standoutbeg(void)

Callers 7

redotoplinFunction · 0.70
show_toplFunction · 0.70
moreFunction · 0.70
nocmovFunction · 0.70
term_clear_screenFunction · 0.70
tty_clear_nhwindowFunction · 0.70
tty_display_fileFunction · 0.70

Calls 3

tgotoFunction · 0.85
tty_cursFunction · 0.85
xputsFunction · 0.70

Tested by

no test coverage detected