feat(ui): confirm before closing a running ConPTY session
The tile's own X killed a live Claude session with no confirmation, unlike the semantically similar Abandon-run action. Gate the close behind the same ConfirmAsync mechanism, but only when Terminal.IsRunning -- a dead session (StartError or exited-after-startup) still closes immediately since the X there is pure cleanup.
This commit is contained in:
@@ -380,6 +380,7 @@
|
||||
"focusMode": "Fokus",
|
||||
"overviewMode": "Übersicht",
|
||||
"closeSession": "Sitzung beenden",
|
||||
"closeSessionConfirm": "Laufende Sitzung beenden? Der Claude-Prozess wird abgebrochen.",
|
||||
"conptyLaunchFailed": "Interaktive Sitzung konnte nicht geöffnet werden: {0}",
|
||||
"conptyStarting": "Sitzung wird gestartet…",
|
||||
"conptyExited": "Sitzung beendet (Code {0}).",
|
||||
|
||||
Reference in New Issue
Block a user