From 690cf9d3f4046e7e3c2042c71c230b20188de04d Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 1 Feb 2015 09:51:05 -0800 Subject: [PATCH] stop listening for mouse sequences before switching to normal buffer. --- lib/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widget.js b/lib/widget.js index 9004825..8a58285 100644 --- a/lib/widget.js +++ b/lib/widget.js @@ -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(); };