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

Function vga_cl_eos

sys/msdos/vidvga.c:279–290  ·  view source on GitHub ↗

clear to end of screen */

Source from the content-addressed store, hash-verified

277
278/* clear to end of screen */
279void vga_cl_eos(int cy)
280{
281 int count;
282
283 cl_end();
284 while (cy <= LI - 2) {
285 for (count = 0; count < (CO - 1); ++count) {
286 vga_WriteChar(' ', count, cy, BACKGROUND_VGA_COLOR);
287 }
288 cy++;
289 }
290}
291
292void
293vga_term_end_screen(void)

Callers 1

cl_eosFunction · 0.85

Calls 2

vga_WriteCharFunction · 0.85
cl_endFunction · 0.70

Tested by

no test coverage detected