stop listening for mouse sequences before switching to normal buffer.
This commit is contained in:
parent
562b9fe502
commit
690cf9d3f4
|
@ -440,10 +440,10 @@ Screen.prototype.leave = function() {
|
||||||
// this.program.clear();
|
// this.program.clear();
|
||||||
this.alloc();
|
this.alloc();
|
||||||
this.program.showCursor();
|
this.program.showCursor();
|
||||||
this.program.normalBuffer();
|
|
||||||
if (this._listenedMouse) {
|
if (this._listenedMouse) {
|
||||||
this.program.disableMouse();
|
this.program.disableMouse();
|
||||||
}
|
}
|
||||||
|
this.program.normalBuffer();
|
||||||
this.program.flush();
|
this.program.flush();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue