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

Function term_clear_screen

sys/msdos/video.c:220–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220void
221term_clear_screen(void)
222{
223 if (!iflags.grmode) {
224 txt_clear_screen();
225#ifdef SCREEN_VGA
226 } else if (iflags.usevga) {
227 vga_clear_screen(BACKGROUND_VGA_COLOR);
228#endif
229#ifdef SCREEN_VESA
230 } else if (iflags.usevesa) {
231 vesa_clear_screen(BACKGROUND_VESA_COLOR);
232#endif
233 }
234}
235
236void cl_end(void) /* clear to end of line */
237{

Callers 3

vga_InitFunction · 0.70
vesa_InitFunction · 0.70
getlockFunction · 0.50

Calls 3

txt_clear_screenFunction · 0.85
vga_clear_screenFunction · 0.85
vesa_clear_screenFunction · 0.85

Tested by

no test coverage detected