Merge pull request #367 from Tyriar/363_modifier_keys_no_scroll

Prevent keyboard modifier events from scrolling down
This commit is contained in:
Daniel Imms
2016-11-22 08:00:23 -08:00
committed by GitHub
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);