Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keybinds don't work in foot term on hyprland when kitty protocol is enabled #3390

Open
SecretPocketCat opened this issue May 29, 2024 · 1 comment

Comments

@SecretPocketCat
Copy link

SecretPocketCat commented May 29, 2024

2. Issues with the Zellij UI / behavior / crash

Issue description

Zellij keybinds stopped working in foot on hyprland when the kitty protocol is enabled.
The layout provided below does not create a new tab on Ctrl n or close on Alt c
^N & ^[c are printed to the pane instead.

It works on KDE. It also works with the kitty protocol disabled support_kitty_keyboard_protocol false. It also works fine in allacrity both on KDE and hyprland.

Minimal reproduction

Layout

layout {
    tab_template name="log" {
        pane {
            children
            pane name="log" {
                command "tail"
                args "/tmp/zellij-1000/zellij-log/zellij.log" "-F"
            }
        }
        pane size=1 borderless=true {
            plugin location="tab-bar"
        }
    }
    
    log name="Keybind test" focus=true
}  

keybinds {
    shared {
        bind "Alt c" { Quit; }
        bind "Ctrl n" { NewPane; }
    }
}
  • start foot
  • start zellij in foot using the provided layout
  • press Ctrl n to create a new pane
  • ^[c is instead

Other relevant information

zellij -V
zellij 0.41.0

More specifically I'm on 56baf0b

uname -av
Linux archrig 6.8.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:49:46 +0000 x86_64 GNU/Linux
foot -v
foot version: 1.17.2 +pgo +ime +graphemes -assertions
@SecretPocketCat
Copy link
Author

SecretPocketCat commented May 29, 2024

Just noticed this doesn't happen on KDE, only on hyprland. Not sure it it's a zellij issue, so feel free to close it if that's the case.

@SecretPocketCat SecretPocketCat changed the title Keybinds don't work in foot term when kitty protocol is enabled Keybinds don't work in foot term on hyprland when kitty protocol is enabled May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant