zellij-org / zellij

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

Unable to navigate session with session manager plugin #3065

Open potsrevennil opened 7 months ago

potsrevennil commented 7 months ago

Issues with the Zellij UI / behavior / crash

Issue description

When switching to session manager tab, I cannot scroll over the pane by arrow keys, instead I can only type and search for the session that I wanted to switch to.

Minimal reproduction

Other relevant information

I'm using the zellij default keybinding configuration (https://github.com/potsrevennil/kapi-sysconf/blob/73da6d6b0e6961170e12e16128cf1b535153f914/home-manager/zellij.kdl) zellij --version: 0.39.2 uname -v: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000

imsnif commented 7 months ago

Hey, I'm not reproducing this with the minimal reproduction...

potsrevennil commented 7 months ago

@imsnif Thanks for replying, sorry for missing one more step in the reproduction!

I did a bit more testing and find out that it is actually caused by choosing the dracula theme. (everything is fine if I chose default theme)

placed the following zellij configuration at ~/.config/zellij/config.kdl, and the issue should be reproducible

themes {
    dracula {
        fg 248 248 242
        bg 40 42 54
        red 255 85 85
        green 80 250 123
        yellow 241 250 140
        blue 98 114 164
        magenta 255 121 198
        orange 255 184 108
        cyan 139 233 253
        black 0 0 0
        white 255 255 255
    }
}

theme "dracula"
potsrevennil commented 7 months ago

Also, I'm wondering if there should be any warning against not adding the theme (e.x. dracula) in the themes section ?

So what I mean is that, if I started zellij with the configuration file writing

theme "dracula"

there seems to be no warning, and everything works fine except the scrolling sessions with arrow key in session manager