Merge pull request #160 from Tyriar/159_fix_nbsp_resize

Have ' ' chars get inserted correctly after a resize
This commit is contained in:
Paris Kasidiaris
2016-07-05 13:53:34 +03:00
committed by GitHub
+1 -1
View File
@@ -2829,7 +2829,7 @@
// resize cols // resize cols
j = this.cols; j = this.cols;
if (j < x) { 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; i = this.lines.length;
while (i--) { while (i--) {
while (this.lines[i].length < x) { while (this.lines[i].length < x) {