mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
* feat: add bracketed paste mode toggle (#233) Add a setting to disable bracketed paste mode, which prevents ^[[200~ artifacts in terminals that don't support it. - Add disableBracketedPaste field to TerminalSettings - Wire to xterm.js ignoreBracketedPasteMode option - Add toggle in Settings > Terminal > Behavior - Add en/zh-CN translations * fix: update bracketed-paste option on live terminals Apply ignoreBracketedPasteMode at runtime via the terminal settings sync useEffect, so flipping the toggle takes effect immediately on active sessions without requiring a reconnect. * fix: respect disableBracketedPaste in all manual paste paths The xterm.js ignoreBracketedPasteMode option only affects xterm's own paste handling, not the modes getter. The 3 manual paste wrappers (hotkey, context menu, middle-click) still checked term.modes.bracketedPasteMode which reports true regardless of the option. Now all 3 paths also check the user setting before wrapping.