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

Function cl_end

sys/windows/consoletty.c:1460–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1458}
1459
1460void
1461cl_end(void)
1462{
1463 if (ttyDisplay->curx < console.width
1464 && ttyDisplay->cury < console.height) {
1465 set_console_cursor(ttyDisplay->curx, ttyDisplay->cury);
1466 buffer_clear_to_end_of_line(console.back_buffer, console.cursor.X,
1467 console.cursor.Y);
1468 tty_curs(BASE_WINDOW, (int) ttyDisplay->curx + 1,
1469 (int) ttyDisplay->cury);
1470 }
1471}
1472
1473void
1474raw_clear_screen(void)

Callers

nothing calls this directly

Calls 3

set_console_cursorFunction · 0.85
tty_cursFunction · 0.85

Tested by

no test coverage detected