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",
+3
View File
@@ -555,6 +555,9 @@
"newTab": "新选项卡",
"splitScreen": "分屏",
"closeTab": "关闭选项卡",
"confirmClose": "确定关闭当前活跃会话?",
"close": "关闭",
"cancel": "取消",
"sshManager": "SSH 管理器",
"hostManager": "主机管理器",
"cannotSplitTab": "无法拆分此选项卡",