summaryrefslogtreecommitdiffstats
path: root/zellij-server/src/route.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zellij-server/src/route.rs')
-rw-r--r--zellij-server/src/route.rs11
1 files changed, 3 insertions, 8 deletions
diff --git a/zellij-server/src/route.rs b/zellij-server/src/route.rs
index 2d78ae745..7ff859462 100644
--- a/zellij-server/src/route.rs
+++ b/zellij-server/src/route.rs
@@ -17,7 +17,7 @@ use zellij_utils::{
actions::{Action, SearchDirection, SearchOption},
command::TerminalAction,
get_mode_info,
- layout::{Layout, RunPluginLocation},
+ layout::Layout,
},
ipc::{
ClientAttributes, ClientToServerMsg, ExitReason, IpcReceiverWithContext, ServerToClientMsg,
@@ -615,14 +615,9 @@ pub(crate) fn route_action(
))
.with_context(err_context)?;
},
- Action::StartOrReloadPlugin(url) => {
- let run_plugin_location =
- RunPluginLocation::parse(url.as_str()).with_context(err_context)?;
+ Action::StartOrReloadPlugin(run_plugin) => {
senders
- .send_to_screen(ScreenInstruction::StartOrReloadPluginPane(
- run_plugin_location,
- None,
- ))
+ .send_to_screen(ScreenInstruction::StartOrReloadPluginPane(run_plugin, None))
.with_context(err_context)?;
},
Action::LaunchOrFocusPlugin(run_plugin, should_float) => {