diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-08-25 12:24:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 12:24:43 +0200 |
commit | b44ba85895b4db3a67a0f5c329c62fe120079ff0 (patch) | |
tree | ff34fb572a4ca5e0ff71fc0db9bacb9ef3c56093 /zellij-server/src/route.rs | |
parent | 877c467f9f757ca560d77ceef83456c9a50f4917 (diff) |
feat(plugins): optionally move plugin to focused tab (#2725)
* feat(plugins): move_to_focused_tab attribute for LaunchOrFocusPlugin
* style(fmt): rustfmt
Diffstat (limited to 'zellij-server/src/route.rs')
-rw-r--r-- | zellij-server/src/route.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zellij-server/src/route.rs b/zellij-server/src/route.rs index 26b551866..b29dd934f 100644 --- a/zellij-server/src/route.rs +++ b/zellij-server/src/route.rs @@ -621,11 +621,12 @@ pub(crate) fn route_action( .send_to_screen(ScreenInstruction::StartOrReloadPluginPane(run_plugin, None)) .with_context(err_context)?; }, - Action::LaunchOrFocusPlugin(run_plugin, should_float) => { + Action::LaunchOrFocusPlugin(run_plugin, should_float, move_to_focused_tab) => { senders .send_to_screen(ScreenInstruction::LaunchOrFocusPlugin( run_plugin, should_float, + move_to_focused_tab, client_id, )) .with_context(err_context)?; |