diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-07-08 11:46:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-08 11:46:41 +0200 |
| commit | 70c65a9afd5b4cfe41ef0a294831433230dbbcab (patch) | |
| tree | 1f87786bb9f7f0431c562d926c8e1a3e1e92c47a /zellij-integration-tests | |
| parent | fix(windows): preserve backslashes when quoting spawned-process arguments (#5... (diff) | |
| download | sl0ppij-70c65a9afd5b4cfe41ef0a294831433230dbbcab.tar.gz sl0ppij-70c65a9afd5b4cfe41ef0a294831433230dbbcab.tar.xz sl0ppij-70c65a9afd5b4cfe41ef0a294831433230dbbcab.zip | |
Stacked list fixes (#5342)
* clear padding line
* better stack ui
* fix tests
* add pr
Diffstat (limited to 'zellij-integration-tests')
20 files changed, 46 insertions, 46 deletions
diff --git a/zellij-integration-tests/tests/snapshots/misc__previous_swap_layout.snap b/zellij-integration-tests/tests/snapshots/misc__previous_swap_layout.snap index edf1efb7..58cec6d6 100644 --- a/zellij-integration-tests/tests/snapshots/misc__previous_swap_layout.snap +++ b/zellij-integration-tests/tests/snapshots/misc__previous_swap_layout.snap @@ -3,7 +3,7 @@ source: zellij-integration-tests/tests/misc.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - > Pane #2 + │ Pane #1 │ + > │ Pane #2 │ $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/panes__new_stacked_pane.snap b/zellij-integration-tests/tests/snapshots/panes__new_stacked_pane.snap index 6dce9ccd..53780375 100644 --- a/zellij-integration-tests/tests/snapshots/panes__new_stacked_pane.snap +++ b/zellij-integration-tests/tests/snapshots/panes__new_stacked_pane.snap @@ -3,7 +3,7 @@ source: zellij-integration-tests/tests/panes.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - > Pane #2 + │ Pane #1 │ + > │ Pane #2 │ $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/panes__toggle_frames_with_stacked_panes.snap b/zellij-integration-tests/tests/snapshots/panes__toggle_frames_with_stacked_panes.snap index a955d0d9..88e86821 100644 --- a/zellij-integration-tests/tests/snapshots/panes__toggle_frames_with_stacked_panes.snap +++ b/zellij-integration-tests/tests/snapshots/panes__toggle_frames_with_stacked_panes.snap @@ -3,8 +3,8 @@ source: zellij-integration-tests/tests/panes.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - > Pane #2 + │ Pane #1 │ + > │ Pane #2 │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │$ █ │ │ │ diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_hidden_held_members_exit_code_shows_on_its_entry.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_hidden_held_members_exit_code_shows_on_its_entry.snap index ba84ee58..ee9a1683 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_hidden_held_members_exit_code_shows_on_its_entry.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_hidden_held_members_exit_code_shows_on_its_entry.snap @@ -3,7 +3,7 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - > Pane #1 - member-command [ EXIT CODE: 2 ] + > │ Pane #1 │ + │ member-command │ [ EXIT CODE: 2 ] █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_hidden_member_exiting_removes_its_entry.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_hidden_member_exiting_removes_its_entry.snap index a968820b..79032956 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_hidden_member_exiting_removes_its_entry.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_hidden_member_exiting_removes_its_entry.snap @@ -3,8 +3,8 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - > Pane #3 + │ Pane #1 │ + > │ Pane #3 │ $ third-member $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_layout_stack_renders_as_a_title_list.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_layout_stack_renders_as_a_title_list.snap index cda205c2..11e6c483 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_layout_stack_renders_as_a_title_list.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_layout_stack_renders_as_a_title_list.snap @@ -3,8 +3,8 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - > Pane #1 - Pane #2 - Pane #3 + > │ Pane #1 │ + │ Pane #2 │ + │ Pane #3 │ $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_stack_list_survives_session_resurrection.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_stack_list_survives_session_resurrection.snap index ccf9842d..d2ac8ca5 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_stack_list_survives_session_resurrection.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__a_stack_list_survives_session_resurrection.snap @@ -3,8 +3,8 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - Pane #2 - > Pane #3 + │ Pane #1 │ + │ Pane #2 │ + > │ Pane #3 │ $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__breaking_the_visible_member_out_promotes_and_moves_it_to_a_new_tab.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__breaking_the_visible_member_out_promotes_and_moves_it_to_a_new_tab.snap index 35a49566..b826bbb3 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__breaking_the_visible_member_out_promotes_and_moves_it_to_a_new_tab.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__breaking_the_visible_member_out_promotes_and_moves_it_to_a_new_tab.snap @@ -3,8 +3,8 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 Tab #2 + - Pane #1 - > Pane #2 + │ Pane #1 │ + > │ Pane #2 │ $ second-member $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__clicking_a_hidden_entry_swaps_it_in.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__clicking_a_hidden_entry_swaps_it_in.snap index 571ada79..f668c907 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__clicking_a_hidden_entry_swaps_it_in.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__clicking_a_hidden_entry_swaps_it_in.snap @@ -3,9 +3,9 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&swapped_in) --- Zellij (test) Tab #1 + - > Pane #1 - Pane #2 - Pane #3 + > │ Pane #1 │ + │ Pane #2 │ + │ Pane #3 │ $ first-member $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__closing_the_visible_member_promotes_its_neighbor.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__closing_the_visible_member_promotes_its_neighbor.snap index ecb49594..eb49f79c 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__closing_the_visible_member_promotes_its_neighbor.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__closing_the_visible_member_promotes_its_neighbor.snap @@ -3,8 +3,8 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - > Pane #2 + │ Pane #1 │ + > │ Pane #2 │ $ second-member $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__entries_share_a_uniform_width_sized_by_the_widest_title.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__entries_share_a_uniform_width_sized_by_the_widest_title.snap index 81785c95..932de18b 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__entries_share_a_uniform_width_sized_by_the_widest_title.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__entries_share_a_uniform_width_sized_by_the_widest_title.snap @@ -3,7 +3,7 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - > Pane #1 - member-command + > │ Pane #1 │ + │ member-command │ $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__floating_the_visible_member_promotes_its_neighbor.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__floating_the_visible_member_promotes_its_neighbor.snap index f912750c..e2764c1c 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__floating_the_visible_member_promotes_its_neighbor.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__floating_the_visible_member_promotes_its_neighbor.snap @@ -3,8 +3,8 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - > Pane #2 + │ Pane #1 │ + > │ Pane #2 │ $ second-member $ ┌ Pane #3 ──────────────────────────────────────── PIN [ ] ┐ diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__fullscreen_suspends_the_list_and_restores_it.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__fullscreen_suspends_the_list_and_restores_it.snap index e04f4c85..c13c5953 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__fullscreen_suspends_the_list_and_restores_it.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__fullscreen_suspends_the_list_and_restores_it.snap @@ -3,9 +3,9 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - Pane #2 - > Pane #3 + │ Pane #1 │ + │ Pane #2 │ + > │ Pane #3 │ $ third-member $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__moving_the_visible_member_reorders_the_list.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__moving_the_visible_member_reorders_the_list.snap index 4992e1f6..51856330 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__moving_the_visible_member_reorders_the_list.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__moving_the_visible_member_reorders_the_list.snap @@ -7,8 +7,8 @@ expression: normalized(&grid_snapshot) $ first-member $ ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── - > Pane #3 - Pane #2 + > │ Pane #3 │ + │ Pane #2 │ $ third-member $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__resizing_the_visible_member_keeps_the_list.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__resizing_the_visible_member_keeps_the_list.snap index e6411622..c27f1e30 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__resizing_the_visible_member_keeps_the_list.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__resizing_the_visible_member_keeps_the_list.snap @@ -7,7 +7,7 @@ expression: normalized(&grid_snapshot) $ first-member $ ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── - Pane #2 - > Pane #3 + │ Pane #2 │ + > │ Pane #3 │ $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__splitting_a_new_pane_reforms_the_list_around_it.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__splitting_a_new_pane_reforms_the_list_around_it.snap index cde05d3f..19ad4045 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__splitting_a_new_pane_reforms_the_list_around_it.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__splitting_a_new_pane_reforms_the_list_around_it.snap @@ -3,9 +3,9 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - Pane #2 - > Pane #3 + │ Pane #1 │ + │ Pane #2 │ + > │ Pane #3 │ $ third-member $ ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__stack_renders_as_title_list_above_the_visible_pane.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__stack_renders_as_title_list_above_the_visible_pane.snap index e04f4c85..c13c5953 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__stack_renders_as_title_list_above_the_visible_pane.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__stack_renders_as_title_list_above_the_visible_pane.snap @@ -3,9 +3,9 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - Pane #2 - > Pane #3 + │ Pane #1 │ + │ Pane #2 │ + > │ Pane #3 │ $ third-member $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__the_visible_members_scroll_state_shows_on_its_entry.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__the_visible_members_scroll_state_shows_on_its_entry.snap index 155453b0..cf60fd92 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__the_visible_members_scroll_state_shows_on_its_entry.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__the_visible_members_scroll_state_shows_on_its_entry.snap @@ -3,8 +3,8 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&grid_snapshot) --- Zellij (test) Tab #1 + - Pane #1 - > Pane #2 [ SCROLL: 21/22 ] + │ Pane #1 │ + > │ Pane #2 │ [ SCROLL: 21/22 ] line1 line2 line3 diff --git a/zellij-integration-tests/tests/snapshots/stacked_pane_list__up_and_down_move_the_selection_through_the_list.snap b/zellij-integration-tests/tests/snapshots/stacked_pane_list__up_and_down_move_the_selection_through_the_list.snap index dad03f9a..e4252167 100644 --- a/zellij-integration-tests/tests/snapshots/stacked_pane_list__up_and_down_move_the_selection_through_the_list.snap +++ b/zellij-integration-tests/tests/snapshots/stacked_pane_list__up_and_down_move_the_selection_through_the_list.snap @@ -3,9 +3,9 @@ source: zellij-integration-tests/tests/stacked_pane_list.rs expression: normalized(&middle_member_selected) --- Zellij (test) Tab #1 + - Pane #1 - > Pane #2 - Pane #3 + │ Pane #1 │ + > │ Pane #2 │ + │ Pane #3 │ $ second-member $ █ Ctrl + <g> LOCK <p> PANE <t> TAB <n> RESIZE <h> MOVE <s> SEARCH <o> SESSION <q> QUIT ... diff --git a/zellij-integration-tests/tests/stacked_pane_list.rs b/zellij-integration-tests/tests/stacked_pane_list.rs index e3404f8c..8bb401cf 100644 --- a/zellij-integration-tests/tests/stacked_pane_list.rs +++ b/zellij-integration-tests/tests/stacked_pane_list.rs @@ -50,7 +50,7 @@ layout { "#; fn selected_entry(title: &str) -> String { - format!("> {}", title) + format!("> │ {}", title) } fn add_stacked_pane_and_wait_for_selected_entry( |
