diff options
author | Aram Drevekenin <aram@poor.dev> | 2022-12-06 15:34:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-06 15:34:43 +0100 |
commit | b7adfcc581d40952ec5d1f5a853669322e895bd7 (patch) | |
tree | ba245468ddc56834782604d1829163f8121bd087 /zellij-server/src/route.rs | |
parent | c2a6156a6b4ae8cadb1e48cfb8763c0d9233d9f9 (diff) |
refactor(plugins): fix plugin loading data flow (#1995)
Diffstat (limited to 'zellij-server/src/route.rs')
-rw-r--r-- | zellij-server/src/route.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-server/src/route.rs b/zellij-server/src/route.rs index 55e45085a..74a876c20 100644 --- a/zellij-server/src/route.rs +++ b/zellij-server/src/route.rs @@ -2,9 +2,9 @@ use std::sync::{Arc, RwLock}; use crate::{ os_input_output::ServerOsApi, + plugins::PluginInstruction, pty::{ClientOrTabIndex, PtyInstruction}, screen::ScreenInstruction, - wasm_vm::PluginInstruction, ServerInstruction, SessionMetaData, SessionState, }; use zellij_utils::{ @@ -440,7 +440,7 @@ pub(crate) fn route_action( let shell = session.default_shell.clone(); session .senders - .send_to_pty(PtyInstruction::NewTab( + .send_to_screen(ScreenInstruction::NewTab( shell, tab_layout, tab_name, client_id, )) .with_context(err_context)?; |