From 3bb14cb81ad2479f07ffed7d4400a9229b3cdb34 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 7 Oct 2026 04:35:19 +0300 Subject: [PATCH] fix: drop super chords before the windows conpty fallback in plain panes --- src/pane/terminal.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pane/terminal.rs b/src/pane/terminal.rs index 698273ed7..c5d6d85f1 100644 --- a/src/pane/terminal.rs +++ b/src/pane/terminal.rs @@ -2034,6 +2034,12 @@ impl GhosttyPaneTerminal { return Vec::new(); }; let negotiated_nothing = keyboard_negotiated_nothing(&core.terminal); + // Before the Windows record fallback too: a remote client can report + // Super, and a record would deliver the bare key (#3710). + if negotiated_nothing && legacy_super_chord(&key) { + debug!(code = ?key.code, "super chord in a pane without keyboard protocol; not forwarded"); + return Vec::new(); + } #[cfg(windows)] if negotiated_nothing { if let Some(bytes) = crate::platform::encode_windows_conpty_fallback(&key) {