Fix terminal resize issue and race condition. Bump version to 0.3.27

This commit is contained in:
GitHub Copilot
2026-01-28 00:21:39 +00:00
parent a1da841c45
commit 79fde1db2d
5 changed files with 14 additions and 11 deletions
+4 -3
View File
@@ -146,8 +146,8 @@ class WebTerminal {
fit(): void {
try {
this.fitAddon.fit();
} catch {
// Ignore fit errors during initialization
} catch (e) {
console.warn("Fit failed:", e);
}
}
@@ -188,7 +188,8 @@ class WebTerminal {
const dims = (() => {
try {
return this.fitAddon.proposeDimensions();
} catch {
} catch (e) {
console.warn("proposeDimensions failed:", e);
return undefined;
}
})();