Don't fire onDidChangeTerminalDimensions when cols/rows is 0

Fixes #83778
This commit is contained in:
Daniel Imms
2020-08-12 16:33:55 -07:00
parent c80b8a3318
commit 9a2696d391
2 changed files with 3 additions and 4 deletions

View File

@@ -175,6 +175,9 @@ export class ExtHostTerminal extends BaseExtHostTerminal implements vscode.Termi
// Nothing changed
return false;
}
if (cols === 0 || rows === 0) {
return false;
}
this._cols = cols;
this._rows = rows;
return true;