Open blank2121 opened 1 year ago
I guess the reason is here :
Hey, these will not work with Zellij because we read input from STDIN rather than from your keyboard directly. Since STDIN does not know about these keys, we cannot bind them.
My solution for this was just to use the terminal (wezterm in my case) mapping instead of zellij so I've kept zellij default mapping and mapped CMD to perform whatever action I needed, for example
{
key = "t",
mods = "CMD",
action = act.Multiple({
act.SendKey({ key = "t", mods = "CTRL" }),
act.SendKey({ key = "n" }),
}),
},
https://wezfurlong.org/wezterm/config/lua/keyassignment/Multiple.html
@alonz has the new update broken this setup for you?
I use arch linux and I use my Alt key for my windows and my main controls for my setup. So i was disappointed when I saw that Zellij did not have Win as one of the modifier keys. If there is a specific reason that is not supported then I want to hear why but if not it would be great to have all 3: Ctrl, Alt, Win.
Furthermore, I was looking through the code and found the file that looks to be in control of the keys and i saw the modifier key struct and think that it could just be added like how i did in the comments:
The original code is here