chore: bump version to 0.1484

This commit is contained in:
arkon
2026-02-12 11:17:49 +01:00
parent a687416798
commit 336aff2d2c
3 changed files with 15 additions and 2 deletions
+13
View File
@@ -720,6 +720,13 @@ class NotificationManager {
this.onTabVisible();
}
});
// iOS Safari: pageshow fires on back-forward cache restore (bfcache)
window.addEventListener('pageshow', (e) => {
if (e.persisted) {
this.isTabVisible = true;
this.onTabVisible();
}
});
}
loadPreferences() {
@@ -1073,6 +1080,12 @@ class NotificationManager {
if (this.isDrawerOpen) {
this.markAllRead();
}
// Re-fit terminal and send resize to PTY so this client's dimensions win.
// Fixes broken layout when switching between desktop and mobile on the same session.
if (this.app?.fitAddon && this.app?.activeSessionId) {
this.app.fitAddon.fit();
this.app.sendResize(this.app.activeSessionId);
}
}
// Utilities