mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Add another null check on children[y]
This commit is contained in:
+1
-1
@@ -1139,7 +1139,7 @@ Terminal.prototype.refresh = function(start, end) {
|
||||
row = y + this.ydisp;
|
||||
|
||||
line = this.lines.get(row);
|
||||
if (!line) {
|
||||
if (!line || !this.children[y]) {
|
||||
// Continue if the line is not available, this means a resize is currently in progress
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user