diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-03-27 19:19:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 19:19:34 +0200 |
commit | 341f9eb8c8771a59b2e4d238ba49ba88c3720d6d (patch) | |
tree | 51205536dd0789efb770dbe0095af7210a60eed3 /zellij-server/src/route.rs | |
parent | 7b609b053f3aaf466258e12be53d57614c8884c7 (diff) |
feat(plugins): async plugin loading (#2327)
* work
* refactor(plugins): break down start plugin async function
* work
* loading messages
* nice ui
* floating panes and error handling
* cleanups and conflicting plugin/direction
* find exact pane when relayouting
* fix plugin pane titles
* kill loading tasks on exit
* refactor: move stuff around
* style(fmt): rustfmt
* various fixes and refactors
Diffstat (limited to 'zellij-server/src/route.rs')
-rw-r--r-- | zellij-server/src/route.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zellij-server/src/route.rs b/zellij-server/src/route.rs index 53b43ecdc..f63da2d21 100644 --- a/zellij-server/src/route.rs +++ b/zellij-server/src/route.rs @@ -667,6 +667,22 @@ pub(crate) fn route_action( .send_to_screen(ScreenInstruction::QueryTabNames(client_id)) .with_context(err_context)?; }, + Action::NewTiledPluginPane(run_plugin, name) => { + session + .senders + .send_to_screen(ScreenInstruction::NewTiledPluginPane( + run_plugin, name, client_id, + )) + .with_context(err_context)?; + }, + Action::NewFloatingPluginPane(run_plugin, name) => { + session + .senders + .send_to_screen(ScreenInstruction::NewFloatingPluginPane( + run_plugin, name, client_id, + )) + .with_context(err_context)?; + }, } Ok(should_break) } |