macOS: New split created via keyboard does not receive focus (regression of #381) #10493
Unanswered
ryparker
asked this question in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
Regression of #381
When creating a new split via keyboard shortcut (e.g., cmd+d bound to new_split:right), the newly created split does not receive keyboard focus. As a result, cmd+w bound to close_surface closes the entire window instead of just the split.
Clicking the new split with the mouse correctly focuses it, and close_surface then works as expected.
Expected Behavior
New splits created via keyboard should automatically receive keyboard focus, matching the behavior when clicking into a split with the mouse.
Actual Behavior
New splits created via keyboard do not receive focus. The previous split (or window) retains focus, causing close_surface to target the window instead of the new split.
Reproduction Steps
also occurs when using ssh or tmux
Ghostty Logs
No response
Ghostty Version
OS Version Information
macOS 26.2 (Build 25C56)
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions