Merge pull request #274 from Tyriar/205_cancel_shift_pg_up_down_event

Cancel keydown event on shift+page up/down
This commit is contained in:
Daniel Imms
2016-09-18 13:49:38 -07:00
committed by GitHub
+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);
}