Have ' ' chars get inserted correctly after a resize

Since the character spec didn't contain a character width it was being skipped
during refresh.

Fixes #159
This commit is contained in:
Daniel Imms
2016-07-04 13:17:08 -07:00
parent 36eb7efe5e
commit 838c11b69c
+1 -1
View File
@@ -2828,7 +2828,7 @@
// resize cols
j = this.cols;
if (j < x) {
ch = [this.defAttr, ' ']; // does xterm use the default attr?
ch = [this.defAttr, ' ', 1]; // does xterm use the default attr?
i = this.lines.length;
while (i--) {
while (this.lines[i].length < x) {