Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ term_clear_screen
Function
term_clear_screen
sys/windows/consoletty.c:1519–1524 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1517
}
1518
1519
void
1520
term_clear_screen(void)
1521
{
1522
buffer_fill_to_end(console.back_buffer, &clear_cell, 0, 0);
1523
home();
1524
}
1525
1526
void
1527
term_curs_set(int visibility)
Callers
3
getlock
Function · 0.70
term_end_screen
Function · 0.70
CtrlHandler
Function · 0.70
Calls
2
buffer_fill_to_end
Function · 0.85
home
Function · 0.70
Tested by
no test coverage detected