mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
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:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user