Clear baseline when rendering, in case it takes a while to process a frame
This commit is contained in:
parent
5012ba5be7
commit
185b655dea
@ -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(''));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user