From 9a86e4e109b4caa3ac7c4f34fff03b91c6efd354 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 20 Jan 2017 14:23:45 -0800 Subject: [PATCH] Fix setupStops call in resize Fixes #259 --- src/xterm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.js b/src/xterm.js index 7f50295f..99540891 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;