From 37c07eaaf9bc41c7d9b0c83c92e65250328cddcf Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sun, 25 Sep 2016 02:40:24 -0700 Subject: [PATCH] Allow wheel events in application mode This change allows wheel events in application mode which fixes mouse wheel scrolling in oh-my-zsh and powershell for Linux (among others). Along with #287 a functional scroll bar will also be usable in those shells. Fixes #151 --- src/xterm.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xterm.js b/src/xterm.js index bc0de043..828a74ff 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -1017,7 +1017,6 @@ Terminal.prototype.bindMouse = function() { // the shell for example on(el, 'wheel', function(ev) { if (self.mouseEvents) return; - if (self.applicationKeypad) return; self.viewport.onWheel(ev); return self.cancel(ev); });