Open eproxus opened 1 year ago
Have you found a solution, by any chance? I've posted about a similar problem here, and then found your issue: https://github.com/wez/wezterm/discussions/4237
For my case I use the following workaround:
return {
keys = {
{ key = ']', mods = 'SUPER', action = act.SendString '\x02\x6f' },
{ key = '[', mods = 'SUPER', action = act.SendString '\x02\x4f' },
{ key = ']', mods = 'SUPER|SHIFT', action = act.SendString '\x02\x6e' },
{ key = '}', mods = 'SUPER', action = act.SendString '\x02\x6e' }, -- Bug in WezTerm
{ key = '}', mods = 'SUPER|SHIFT', action = act.SendString '\x02\x6e' }, -- Bug in WezTerm
{ key = '[', mods = 'SUPER|SHIFT', action = act.SendString '\x02\x70' },
{ key = '{', mods = 'SUPER', action = act.SendString '\x02\x70' }, -- Bug in WezTerm
{ key = '{', mods = 'SUPER|SHIFT', action = act.SendString '\x02\x70' }, -- Bug in WezTerm
}
}
What Operating System(s) are you seeing this problem on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20230411-221643-c8b8e811
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Before WezTerm had a menubar I had the following key bindings working:
Which were sending commands to tmux. Now with the new menu bar, I can't seem to be able to override them properly. First of all, they don't work anymore.
If I look in the menu bar for the entry Window → Select Tab → Activate the tab to the right it is now bound to ⇧ ⌘ ]. If I try to override that:
the key in the menubar suddenly flips to ⇧ ⌘ ], but on my keyboard ] and } are the same key, just that } is being generated when the modifier ⇧ is pressed. The menu bar seems to take precedence over my custom binding.
If I add both entries, the menu item suddenly flips to ⌘ } and still triggers instead of my own bindings!
The only way I can reliably make it work is by having all three items (!):
(And then for some reason the menu item changes to ⌃ ⇥ which hopefully doesn't break anything else).
To Reproduce
Configuration
Expected Behavior
I would expect my old config to work, or at least to be able to rebind one menu bar key binding to my own custom behaviour.
Logs
No response
Anything else?
No response