Cancel keydown even on shift+page up/down

Fixes #205
This commit is contained in:
Daniel Imms
2016-09-17 01:09:08 -07:00
parent 59e72b8b07
commit 446c3958df
+2 -2
View File
@@ -2427,14 +2427,14 @@ Terminal.prototype.keyDown = function(ev) {
if (result.scrollDisp) {
this.scrollDisp(result.scrollDisp);
return this.cancel(ev);
return this.cancel(ev, true);
}
if (isThirdLevelShift(this, ev)) {
return true;
}
if (result.cancel ) {
if (result.cancel) {
// The event is canceled at the end already, is this necessary?
this.cancel(ev, true);
}