Skip to content
Snippets Groups Projects
Commit 218766c5 authored by deuce's avatar deuce
Browse files

Clear line counter before calling console.clear() to prevent pause... a

pause if necessary is expected to be handled by the caller.
parent eb419b6c
No related branches found
No related tags found
No related merge requests found
...@@ -860,6 +860,7 @@ function draw_main(topline) ...@@ -860,6 +860,7 @@ function draw_main(topline)
/* Disable CTRL keys that we "know" how to handle. */ /* Disable CTRL keys that we "know" how to handle. */
console.ctrlkey_passthru="+KOPTU"; console.ctrlkey_passthru="+KOPTU";
if(topline) { if(topline) {
console.line_counter=0;
console.clear(); console.clear();
cleararea(1,1,console.screen_columns,console.screen_rows,true); cleararea(1,1,console.screen_columns,console.screen_rows,true);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment