Vouch Request: Restore physical key binding for CMD+9 (last_tab) regression on AZERTY layout #12664
What do you want to change?CMD+9 (last_tab) doesn't work on AZERTY keyboards. The commit a3462dd registers both .physical and .unicode for CMD+1..8, but only .unicode = '9' for CMD+9. The .physical = .digit_9 binding is missing. The fix is just adding the same .physical registration that CMD+1..8 already has. diff --git a/src/config/Config.zig b/src/config/Config.zig
index 5b1d73deb..c1913e604 100644
--- a/src/config/Config.zig
+++ b/src/config/Config.zig
@@ -6890,6 +6890,18 @@ pub const Keybinds = struct {
},
);
}
+ // See comment above with the numeric goto_tab
+ try self.set.putFlags(
+ alloc,
+ .{
+ .key = .{ .physical = .digit_9 },
+ .mods = mods,
+ },
+ .{ .last_tab = {} },
+ .{
+ .performable = !builtin.target.os.tag.isDarwin(),
+ },
+ );Why do you want to make this change?I use Ghostty daily on macOS with a French AZERTY keyboard. The CMD+9 shortcut for last tab is standard across macOS apps (Safari, Terminal, etc). It worked in Ghostty between Dec 2024 and May 2025 thanks to #3587, but it seem that the commit a3462dd "remove translated" refactor (accidentally?) dropped the physical key binding for this specific case. I acknowledge that:
|
Replies: 1 comment 2 replies
|
Hey 👋 It’s been about three months, and the CMD+9 (last_tab) regression is still present on the latest build. On a French AZERTY keyboard the shortcut does nothing, while CMD+1..8 all work. Quick recap: CMD+1..8 register both Is there anything I can do to help move this forward? |
!vouch