mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Don't fire onDidChangeTerminalDimensions when cols/rows is 0
Fixes #83778
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user