diff options
author | Aram Drevekenin <aram@poor.dev> | 2024-04-26 11:38:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-26 11:38:39 +0200 |
commit | 7562a81f0d13563054214f5b47e5b5557a3156e5 (patch) | |
tree | 9ec7fe66df079fa5deaa95d6447785caaa1007da /zellij-server/src/lib.rs | |
parent | cd37864b389a0047ce799410408a23a9d0c9e888 (diff) |
feat(plugins): add API to open new tabs with a LayoutInfo (#3305)
* feat(plugins): add api to open new tabs with a layout info
* fix tests
Diffstat (limited to 'zellij-server/src/lib.rs')
-rw-r--r-- | zellij-server/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zellij-server/src/lib.rs b/zellij-server/src/lib.rs index 55c98e58d..eb3890b26 100644 --- a/zellij-server/src/lib.rs +++ b/zellij-server/src/lib.rs @@ -978,12 +978,14 @@ fn init_session( let client_attributes = client_attributes.clone(); let default_shell = default_shell.clone(); let capabilities = capabilities.clone(); + let layout_dir = config_options.layout_dir.clone(); move || { plugin_thread_main( plugin_bus, store, data_dir, layout, + layout_dir, path_to_default_shell, zellij_cwd, capabilities, |