diff options
| author | user <user@clank> | 2026-08-12 13:36:50 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-12 13:36:50 +0200 |
| commit | 3d936e2b4f6fafb3b319e609cc74a4340ce675bf (patch) | |
| tree | aa046fab99384e8d1dbc1d7738ac72e3899a91f2 /zellij-server/src/tab/unit/tab_integration_tests.rs | |
| parent | sl0p: add close_if_focused to LaunchOrFocusPlugin (diff) | |
| download | sl0ppij-3d936e2b4f6fafb3b319e609cc74a4340ce675bf.tar.gz sl0ppij-3d936e2b4f6fafb3b319e609cc74a4340ce675bf.tar.xz sl0ppij-3d936e2b4f6fafb3b319e609cc74a4340ce675bf.zip | |
sl0p(pane-finder): find panes hidden in a stack, not just the visible one
In a collapsed (mobile) layout every stack member except the visible one is
suppressed, and the finder skipped suppressed panes outright -- so it could only
ever find the one pane already on screen, which defeats the point of having it
there.
Suppressed terminals are now listed and marked "(hidden)". Suppressed plugins
still are not: zellij:link and friends are deliberately invisible
infrastructure, and focusing one shows an empty pane. Unfiltering everything
listed it, which is how that distinction surfaced.
Needed no server work. Screen::focus_pane_with_id already locates the owning tab
via has_pane_with_pid, which includes suppressed panes, and calls go_to_tab; and
Tab::focus_pane_with_id tries focus_hidden_stack_list_member first. So selecting
a hidden stack member swaps it into view and selecting a pane in another tab
switches tab, both already handled by the host.
Diffstat (limited to 'zellij-server/src/tab/unit/tab_integration_tests.rs')
0 files changed, 0 insertions, 0 deletions
