Clear baseline when rendering, in case it takes a while to process a frame

This commit is contained in:
Deon George 2025-01-25 21:46:10 +11:00
parent 5012ba5be7
commit 185b655dea

View File

@ -45,7 +45,6 @@ function Session() {
this.page = this.previous; this.page = this.previous;
this.previous = undefined; this.previous = undefined;
this.baselineClear();
return result; return result;
} }
@ -168,6 +167,7 @@ function Session() {
// Render the page // Render the page
this.render = function() { this.render = function() {
this.baselineClear();
this.gotoxy(0,0); this.gotoxy(0,0);
//console.clear(null,false); //console.clear(null,false);
write(so.page.display().join('')); write(so.page.display().join(''));