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

Function cl_end

sys/msdos/video.c:236–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void cl_end(void) /* clear to end of line */
237{
238 int col, row;
239
240 col = (int) ttyDisplay->curx;
241 row = (int) ttyDisplay->cury;
242 if (!iflags.grmode) {
243 txt_cl_end(col, row);
244#ifdef SCREEN_VGA
245 } else if (iflags.usevga) {
246 vga_cl_end(col, row);
247#endif
248#ifdef SCREEN_VESA
249 } else if (iflags.usevesa) {
250 vesa_cl_end(col, row);
251#endif
252 }
253 tty_curs(BASE_WINDOW, (int) ttyDisplay->curx + 1, (int) ttyDisplay->cury);
254}
255
256void cl_eos(void) /* clear to end of screen */
257{

Callers 2

vga_cl_eosFunction · 0.70
vesa_cl_eosFunction · 0.70

Calls 4

txt_cl_endFunction · 0.85
vga_cl_endFunction · 0.85
vesa_cl_endFunction · 0.85
tty_cursFunction · 0.85

Tested by

no test coverage detected