Prevent keyboard modifier events from scrolling down

Fixes #363
This commit is contained in:
Daniel Imms
2016-11-21 14:01:20 -08:00
parent 64f6610f11
commit 9937d54410
5 changed files with 48 additions and 2 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ describe('xterm.js', function() {
terminal.ydisp = 0;
terminal.ybase = 40;
terminal.keyDown();
terminal.keyDown({ keyCode: 0 });
// Ensure that now the terminal is scrolled to bottom
assert.equal(terminal.ydisp, terminal.ybase);