zellij icon indicating copy to clipboard operation
zellij copied to clipboard

Ctrl+Alt+S triggers zellij search command

Open lorthirk opened this issue 3 years ago • 4 comments

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

lorthirk avatar Jul 30 '22 13:07 lorthirk

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?

raphCode avatar Aug 01 '22 20:08 raphCode

Outside of Zellij the combos work fine

lorthirk avatar Aug 02 '22 06:08 lorthirk

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

raphCode avatar Aug 02 '22 15:08 raphCode

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...

lorthirk avatar Aug 02 '22 16:08 lorthirk

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

niveK77pur avatar Mar 27 '23 13:03 niveK77pur

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

lorthirk avatar Sep 01 '23 06:09 lorthirk

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.

PiotrZierhoffer avatar Dec 28 '23 13:12 PiotrZierhoffer