-
I’m not sure if this warrants a GitHub issue, but I noticed that Ghostty sends modifier key events to all running windows and panes, not just the active pane. I’ve been wondering if this is intentional or not. I have a video clip if you’d like to see proof. I ran a comparison test in Wezterm, and it didn’t exhibit this behavior. I can try other applications as well. (It doesn’t duplicate MOD+Key events, only MOD events, such as CMD, CMD+ALT, etc.) I’ve only observed this behavior on macOS so far, but I can check on Linux and Windows if desired. Testing for this should be straightforward. Open a window, split it into two panes, and then open a terminal inspector in both panes. Check the Keyboard tab to see if you can reproduce the issue. Since this doesn’t affect “proper chords” like CMD+ALT+A, I don’t anticipate it impacting the majority of users. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It is intended that at the apprt level we receive the modifier event but not intended that we encode it. If it is being encoded for the pty it's a bug. The reason we want to receive the modifier is so that URLs in non-focused surfaces can be highlighted or unhighlighted (there was another issue we resolved related to this). |
Beta Was this translation helpful? Give feedback.
It is intended that at the apprt level we receive the modifier event but not intended that we encode it. If it is being encoded for the pty it's a bug. The reason we want to receive the modifier is so that URLs in non-focused surfaces can be highlighted or unhighlighted (there was another issue we resolved related to this).