zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
20.91k stars 639 forks source link

Ctrl+Alt+S triggers zellij search command #1619

Open lorthirk opened 2 years ago

lorthirk commented 2 years ago

Basic information

zellij --version: zellij 0.31.0 stty size: 45 307 uname -av or ver(Windows): Linux LORTHIRK-FISSO 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 GNU/Linux

List of programs you interact with as, PROGRAM --version: output cropped meaningful, for example: fzf.fish: v9.1 fish --version: fish, version 3.5.1

Further information fzf.fish adds some shortcuts in the shell. One of them, Ctrl+Alt+S is apparently conflicting with zellij, because it triggers the Search command instead of the fzf "status" search. I know I could reassing the key bindings in either zellij or fzf.fish, but I think this could be considered as a bug as well because I'm sending Ctrl+Alt+S, not Ctrl+S.

EDIT: also happens with Ctrl+Alt+P triggering the zellij Panel command

raphCode commented 2 years ago

This is maybe a problem with the terminal emulator, which ignores the Alt key and only sends a combination with Ctrl. I think we had similar problems in the past. Can you check if the problem persists outside of zellij?

lorthirk commented 2 years ago

Outside of Zellij the combos work fine

raphCode commented 2 years ago

Okay, I can confirm that Alt+Ctrl key combos are parsed incorrectly / are recognized as Ctrl only

lorthirk commented 2 years ago

Well, good to know!

Did you have a chance to have a look at a possible fix as well? Unfortunately I have no skill in Rust, I tried to figure out a possible way to fix it but I can't even do a proper debug...

niveK77pur commented 1 year ago

I also encountered this behavior where Ctrl+Alt+<key> would trigger a Ctrl+<key> mapping in zellij.

Is there any update on this? This issue appears to have gone dormant ever since~
There also seems to be a faintly related issue still open: #1343

lorthirk commented 1 year ago

Unfortunately no update yet, it seems. Any chance its priority could be raised?

PiotrZierhoffer commented 9 months ago

I can confirm this on Alacritty + ZSH combo. I tried to remap my ZSH Ctrl commands to Ctrl+Alt, but to no avail, Zellij does not pass them through.