diff --git a/src/term.js b/src/term.js index 626be53..db5ebb6 100644 --- a/src/term.js +++ b/src/term.js @@ -2771,8 +2771,8 @@ Terminal.prototype.resize = function(x, y) { } } } - this.setupStops(j); this.cols = x; + this.setupStops(j); // resize rows j = this.rows;