diff options
| author | Aram Drevekenin <aram@poor.dev> | 2022-10-14 17:44:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-14 17:44:23 +0200 |
| commit | efceb562dec562babd90c711b30a5471e026fd3d (patch) | |
| tree | 0d98a00319023c1f9724fc39cff018513413c6ee /zellij-utils/src/input/unit/snapshots | |
| parent | docs(changelog): global cwd (diff) | |
| download | sl0ppij-efceb562dec562babd90c711b30a5471e026fd3d.tar.gz sl0ppij-efceb562dec562babd90c711b30a5471e026fd3d.tar.xz sl0ppij-efceb562dec562babd90c711b30a5471e026fd3d.zip | |
feat(layouts): edit panes (#1799)
* feat(layouts): edit panes
* style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src/input/unit/snapshots')
2 files changed, 74 insertions, 0 deletions
diff --git a/zellij-utils/src/input/unit/snapshots/zellij_utils__input__layout__layout_test__pane_template_with_bare_propagated_to_its_consumer_edit.snap b/zellij-utils/src/input/unit/snapshots/zellij_utils__input__layout__layout_test__pane_template_with_bare_propagated_to_its_consumer_edit.snap new file mode 100644 index 00000000..32bc6880 --- /dev/null +++ b/zellij-utils/src/input/unit/snapshots/zellij_utils__input__layout__layout_test__pane_template_with_bare_propagated_to_its_consumer_edit.snap @@ -0,0 +1,37 @@ +--- +source: zellij-utils/src/input/./unit/layout_test.rs +assertion_line: 1298 +expression: "format!(\"{:#?}\", layout)" +--- +Layout { + tabs: [], + focused_tab_index: None, + template: Some( + PaneLayout { + children_split_direction: Horizontal, + name: None, + children: [ + PaneLayout { + children_split_direction: Horizontal, + name: None, + children: [], + split_size: None, + run: Some( + EditFile( + "/tmp/foo/bar", + None, + ), + ), + borderless: false, + focus: None, + external_children_index: None, + }, + ], + split_size: None, + run: None, + borderless: false, + focus: None, + external_children_index: None, + }, + ), +} diff --git a/zellij-utils/src/input/unit/snapshots/zellij_utils__input__layout__layout_test__pane_template_with_command_propagated_to_its_consumer_edit.snap b/zellij-utils/src/input/unit/snapshots/zellij_utils__input__layout__layout_test__pane_template_with_command_propagated_to_its_consumer_edit.snap new file mode 100644 index 00000000..f5f50be1 --- /dev/null +++ b/zellij-utils/src/input/unit/snapshots/zellij_utils__input__layout__layout_test__pane_template_with_command_propagated_to_its_consumer_edit.snap @@ -0,0 +1,37 @@ +--- +source: zellij-utils/src/input/./unit/layout_test.rs +assertion_line: 1314 +expression: "format!(\"{:#?}\", layout)" +--- +Layout { + tabs: [], + focused_tab_index: None, + template: Some( + PaneLayout { + children_split_direction: Horizontal, + name: None, + children: [ + PaneLayout { + children_split_direction: Horizontal, + name: None, + children: [], + split_size: None, + run: Some( + EditFile( + "/tmp/foo/bar", + None, + ), + ), + borderless: false, + focus: None, + external_children_index: None, + }, + ], + split_size: None, + run: None, + borderless: false, + focus: None, + external_children_index: None, + }, + ), +} |
