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
This commit is contained in:
Daniel Imms
2016-09-25 02:42:46 -07:00
parent 26fd963fbd
commit 37c07eaaf9
-1
View File
@@ -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);
});