-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
Default mode 368 #513
Default mode 368 #513
Conversation
909035f
to
d90c31f
Compare
@TheLostLambda I want the plugin to read the Maybe all it does is call the |
@a-kenji Is the issue that you aren't getting a properly updated mode when the plugin first loads? If so, we'll have to smush a bug somewhere because I made the I suspect a bug more than a missing feature here, but I'll have to take a closer look soon (I'm still a bit busy this week with exams) |
@TheLostLambda
I think so yeah, I suspect the plugin is loaded with defaults on the first creation. I'll into it a little more! |
* Parsing Implemented * Adds option to specify a default mode either through a flag `--options default-mode [MODE]`, or a configuration option `default_mode: [MODE]` closes zellij-org#368
Thank you for the help! I propagate the information now on creation. |
…ult-mode-368 * If starting in the locked mode after the merge, the locked mode seems to need 2 actions to go to the normal mode - after that everything works as expected. - This is not intended.
I am having Issues merging this change into the current main, Pre merge, the mode functions properly, even when starting in the And as always no rush! |
@a-kenji how do the plugins receive the default_mode from the config options? |
@kunalmohan |
@a-kenji Sorry, I wasn't clear. I meant in the code. Where/when does the wasm thread receive the default_mode at startup? |
@kunalmohan But as I said. It works correctly prior to the merge in I will keep on looking into it but I don't understand currently what has |
This aims to make setting a default_mode (the first mode you start with) possible.
This works already, but the plugin doesn't correctly show it yet until the first change of events.