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

Plug-in configurations are not retrieved at the correct location within the same plugin #2674

Closed
h1romas4 opened this issue Aug 4, 2023 · 0 comments · Fixed by #2727
Closed
Assignees

Comments

@h1romas4
Copy link

h1romas4 commented Aug 4, 2023

Hello.

Basic information

zellij --version: zellij 0.38.0 f75033e1
stty size: 49 150
uname -av or ver(Windows): Linux thinkpad-p14s 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux
alacritty --version: alacritty 0.12.1

Further information

Plug-in configurations are not retrieved at the correct location within the same plugin.
The following configuration will swap the order of the set values.

layout {
    pane size=1 borderless=true {
        plugin location="file:./target/wasm32-wasi/debug/zellij-datetime.wasm" {
            timezone1 "JST/+9"
            background_color "#0000ff"
        }
    }
    pane size=1 borderless=true {
        plugin location="file:./target/wasm32-wasi/debug/zellij-datetime.wasm" {
            timezone1 "CEST/+2"
            background_color "#ffffff"
        }
    }
    pane
}

It was assumed that the order would be JST -> CEST, but the order is read in reverse.

image

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants