Add another null check on children[y]

This commit is contained in:
Daniel Imms
2017-01-12 11:23:17 -08:00
parent 23169e89c8
commit 3de3912b96
+1 -1
View File
@@ -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;
}