Repository navigation
fix(terminal): pass unselected Ctrl+Shift+C through to Kitty TUIs on Linux/Windows - #41442
Conversation
…Linux/Windows Fixes #9727
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Medium Merge Risk:
|
Summary
isAppOwnedCopyChordinxterm-bypass-policy.tsfrom macOS-onlyMod+Cto also coverCtrl+Shift+Con Linux/Windows when there is no xterm selection (!hasSelection) and the running application has negotiated Kitty keyboard flags (kittyKeyboardFlags !== 0).xterm.hasSelection(). Previously on Linux/Windows,shouldBypassXtermKeyboardEventunconditionally bypassedCtrl+Shift+Cas a native clipboard event, leaving nothing to copy and swallowing the chord before xterm's Kitty encoder could forward CSI-u (\x1b[99;6u/\x1b[99:67;6u) to the TUI across main terminal panes, preview popouts, and SSH terminals.hasSelection: true), Orca still copies xterm's selection and sends nothing to the PTY.kittyKeyboardFlags === 0in plain shells likebash/zsh/pwshor legacy apps), unselectedCtrl+Shift+Cstill bypasses xterm and sends zero bytes to the shell.Fixes #9727