stop listening for mouse sequences before switching to normal buffer.

This commit is contained in:
Christopher Jeffrey 2015-02-01 09:51:05 -08:00
parent 562b9fe502
commit 690cf9d3f4
1 changed files with 1 additions and 1 deletions

View File

@ -440,10 +440,10 @@ Screen.prototype.leave = function() {
// this.program.clear();
this.alloc();
this.program.showCursor();
this.program.normalBuffer();
if (this._listenedMouse) {
this.program.disableMouse();
}
this.program.normalBuffer();
this.program.flush();
};