Remove Terminal.queueRefresh, call refresh directly
This commit is contained in:
@@ -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() {}
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user