Right-clicking the empty area of the tab bar opens the native WebKit context menu, which has "Reload" in it. Clicking it reloads the webview, and src/main.tsx calls pty_close_all on load, so every running shell is killed.
Just lost 5 sessions to one misclick. No warning, no undo, no setting to turn it off.
Log:
[2026-08-31][11:40:33][terax_lib::modules::pty][INFO] pty_close_all: reaped 5 orphaned session(s)
TabBar.tsx attaches a ContextMenu to the tabs themselves, so the empty strip next to them falls through to WebKit.
Suggested fix: preventDefault on contextmenu for the tab bar container, or app-wide outside inputs and terminals.
Terax 0.8.6, macOS (Darwin 25.5.0)
Right-clicking the empty area of the tab bar opens the native WebKit context menu, which has "Reload" in it. Clicking it reloads the webview, and
src/main.tsxcallspty_close_allon load, so every running shell is killed.Just lost 5 sessions to one misclick. No warning, no undo, no setting to turn it off.
Log:
TabBar.tsxattaches aContextMenuto the tabs themselves, so the empty strip next to them falls through to WebKit.Suggested fix:
preventDefaultoncontextmenufor the tab bar container, or app-wide outside inputs and terminals.Terax 0.8.6, macOS (Darwin 25.5.0)