Remove Terminal.queueRefresh, call refresh directly

This commit is contained in:
Daniel Imms
2017-02-01 11:13:00 -08:00
parent 9d8f6c9ae7
commit 3c635f3ce5
4 changed files with 10 additions and 24 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ describe('xterm output comparison', function() {
beforeEach(function () {
xterm = new Terminal(COLS, ROWS);
xterm.queueRefresh = function() {};
xterm.refresh = function() {};
xterm.viewport = {
syncScrollArea: function() {}
};
-4
View File
@@ -14,10 +14,6 @@ describe('xterm.js', function() {
xterm.compositionHelper = {
keydown: function(){ return true; }
};
// Force synchronous refreshes
xterm.queueRefresh = function(start, end) {
xterm.refresh(start, end);
};
// Force synchronous writes
xterm.write = function(data) {
xterm.writeBuffer.push(data);