fix(terminal): exit fullscreen when PTY exits

Reset fullscreen and mobile toolbar state on PTY exit so the terminal UI returns to its normal layout. Update packaging coverage for the PTY exit behavior and mobile fullscreen height.
This commit is contained in:
Andras Bacsai committed 2026-06-01 10:21:30 +02:00
1 parent a8db2864f3
commit 24fc8db8db
2 files changed
+15 -3

No files matched your search

+2
View File
@@ -527,6 +527,8 @@ export function initializeTerminalComponent() {
// Notify parent component that terminal connection failed
this.$wire.dispatch('terminalDisconnected');
} else if (event.data === 'pty-exited') {
this.fullscreen = false;
this.mobileToolbarCollapsed = false;
this.terminalActive = false;
this.resetTerminalSessionCountdown();
this.term.reset();