diff options
author | Kangaxx-0 <85712372+Kangaxx-0@users.noreply.github.com> | 2023-04-18 07:35:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-18 16:35:51 +0200 |
commit | 4c87b1e6bd59107355f12a7eac00ccd54d7714b6 (patch) | |
tree | 4ab8589f920119c8915806a78e38d81d35791757 /zellij-server/src/unit/snapshots | |
parent | cecd7b2b7f54a31425ec708a457fdfad363d3cfd (diff) |
feat: support default cwd (#2290)
* init commit
* add default config to kdl file
* change the field from `default_cwd` to `override_cwd`
* change back to default_cwd
* fix test
* default cwd works without `default_shell`
Diffstat (limited to 'zellij-server/src/unit/snapshots')
4 files changed, 6 insertions, 0 deletions
diff --git a/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_new_tab_action_default_params.snap b/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_new_tab_action_default_params.snap index 42eeaa7c4..a25b01b47 100644 --- a/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_new_tab_action_default_params.snap +++ b/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_new_tab_action_default_params.snap @@ -5,6 +5,7 @@ expression: "format!(\"{:#?}\", new_tab_action)" Some( NewTab( None, + None, Some( TiledPaneLayout { children_split_direction: Vertical, diff --git a/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_new_tab_action_with_name_and_layout.snap b/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_new_tab_action_with_name_and_layout.snap index f06ae128c..cd5300d08 100644 --- a/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_new_tab_action_with_name_and_layout.snap +++ b/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_new_tab_action_with_name_and_layout.snap @@ -5,6 +5,7 @@ expression: "format!(\"{:#?}\", new_tab_instruction)" --- NewTab( None, + None, Some( TiledPaneLayout { children_split_direction: Horizontal, diff --git a/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_rename_tab.snap b/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_rename_tab.snap index 596b5e800..f5e86b280 100644 --- a/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_rename_tab.snap +++ b/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_rename_tab.snap @@ -28,6 +28,7 @@ expression: "format!(\"{:#?}\", * received_plugin_instructions.lock().unwrap())" ), NewTab( None, + None, Some( TiledPaneLayout { children_split_direction: Horizontal, @@ -188,6 +189,7 @@ expression: "format!(\"{:#?}\", * received_plugin_instructions.lock().unwrap())" ), NewTab( None, + None, Some( TiledPaneLayout { children_split_direction: Vertical, diff --git a/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_undo_rename_tab.snap b/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_undo_rename_tab.snap index 1a80ff086..bae48188f 100644 --- a/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_undo_rename_tab.snap +++ b/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_undo_rename_tab.snap @@ -28,6 +28,7 @@ expression: "format!(\"{:#?}\", * received_plugin_instructions.lock().unwrap())" ), NewTab( None, + None, Some( TiledPaneLayout { children_split_direction: Horizontal, @@ -188,6 +189,7 @@ expression: "format!(\"{:#?}\", * received_plugin_instructions.lock().unwrap())" ), NewTab( None, + None, Some( TiledPaneLayout { children_split_direction: Vertical, |