mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-22 08:03:40 +00:00
* fix: prevent Chromium from consuming Alt+Arrow as browser navigation (#606) Chromium intercepts Alt+Left/Right as back/forward navigation shortcuts, which prevents these keys from reaching the terminal (needed by byobu, tmux, etc. for window switching). Block this at the Electron level via before-input-event so the keys pass through to xterm.js and the remote shell. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: use setIgnoreMenuShortcuts instead of preventDefault for Alt+Arrow preventDefault in before-input-event blocks the keydown from reaching xterm.js. Instead, use setIgnoreMenuShortcuts to disable Chromium's built-in navigation shortcut while letting the key event pass through to the terminal renderer. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>