diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs index f3daf69c8f..c33fb73ba2 100644 --- a/zellij-client/src/lib.rs +++ b/zellij-client/src/lib.rs @@ -160,7 +160,7 @@ pub fn start_client( client_attributes, Box::new(opts), Box::new(config_options.clone()), - layout.unwrap(), + Box::new(layout.unwrap()), Some(config.plugins.clone()), ) } diff --git a/zellij-server/src/lib.rs b/zellij-server/src/lib.rs index cb8f050dca..80a954c0d6 100644 --- a/zellij-server/src/lib.rs +++ b/zellij-server/src/lib.rs @@ -58,7 +58,7 @@ pub enum ServerInstruction { ClientAttributes, Box, Box, - LayoutFromYaml, + Box, ClientId, Option, ), @@ -497,7 +497,7 @@ pub fn start_server(mut os_input: Box, socket_path: PathBuf) { pub struct SessionOptions { pub opts: Box, pub config_options: Box, - pub layout: LayoutFromYaml, + pub layout: Box, pub plugins: Option, } diff --git a/zellij-server/src/pty.rs b/zellij-server/src/pty.rs index a10df1ac95..17cf912629 100644 --- a/zellij-server/src/pty.rs +++ b/zellij-server/src/pty.rs @@ -74,7 +74,7 @@ pub(crate) struct Pty { use std::convert::TryFrom; -pub(crate) fn pty_thread_main(mut pty: Pty, layout: LayoutFromYaml) { +pub(crate) fn pty_thread_main(mut pty: Pty, layout: Box) { loop { let (event, mut err_ctx) = pty.bus.recv().expect("failed to receive event on channel"); err_ctx.add_call(ContextType::Pty((&event).into())); diff --git a/zellij-utils/src/ipc.rs b/zellij-utils/src/ipc.rs index b27a097a14..2716dd3cc0 100644 --- a/zellij-utils/src/ipc.rs +++ b/zellij-utils/src/ipc.rs @@ -62,7 +62,7 @@ pub enum ClientToServerMsg { ClientAttributes, Box, Box, - LayoutFromYaml, + Box, Option, ), AttachClient(ClientAttributes, Options),