diff --git a/src/xterm.js b/src/xterm.js index 7f50295fc..99540891d 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -2003,8 +2003,8 @@ Terminal.prototype.resize = function(x, y) { } } } - this.setupStops(j); this.cols = x; + this.setupStops(this.cols); // resize rows j = this.rows;