feat: add confirmation prompt before closing active session tabs (#793)

Shows a toast confirmation when closing terminal, RDP, VNC or telnet
tabs to prevent accidental session loss from misclicks.
This commit is contained in:
ZacharyZcR
2026-05-18 05:53:15 +08:00
committed by GitHub
parent 3d42642e94
commit 63c8d601b5
3 changed files with 28 additions and 1 deletions
+3
View File
@@ -385,6 +385,9 @@
"newTab": "New Tab",
"splitScreen": "Split Screen",
"closeTab": "Close Tab",
"confirmClose": "Close this active session?",
"close": "Close",
"cancel": "Cancel",
"sshManager": "SSH Manager",
"hostManager": "Host Manager",
"cannotSplitTab": "Cannot split this tab",