Use ANSI escape sequence to reset and clear terminal, rather than using
the (slow) werase().
This commit is contained in:
@@ -17,8 +17,6 @@ WINDOW *initscr ( void ) {
|
||||
stdscr->scr->init( stdscr->scr );
|
||||
stdscr->height = LINES;
|
||||
stdscr->width = COLS;
|
||||
werase( stdscr );
|
||||
|
||||
return stdscr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user