diff options
| author | user <user@clank> | 2026-08-13 19:39:18 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-13 19:39:18 +0200 |
| commit | ae726b5bb3ff8e9e8f2bef0e9fbc9d4dcb62a79e (patch) | |
| tree | a6cc3f56559c05b812d6bf6998d2b768c8672162 | |
| parent | build: cut the edit loop from 52s to 5s with more codegen units (diff) | |
| download | sl0ppi-ae726b5bb3ff8e9e8f2bef0e9fbc9d4dcb62a79e.tar.gz sl0ppi-ae726b5bb3ff8e9e8f2bef0e9fbc9d4dcb62a79e.tar.xz sl0ppi-ae726b5bb3ff8e9e8f2bef0e9fbc9d4dcb62a79e.zip | |
sl0p: make the split button work on stacked panes too
Reported still dead on a live session after the previous fix. Stacks move the
frame twice more, and neither move was in the hit-test:
- a stack list is drawn over the top rows of its visible member, pushing that
pane's frame down. The renderer applies this as a frame geom override
(reserved_top_rows); the click side did not, so every pane in a stack was
clickable one row above its own title. frame_rect_with_top_reserved() now
applies the same shift, before the gap inset, in the same order as render;
- a stack's collapsed members drew a button on their one-row title. Nothing
could honour it -- that row is the stack's picker, and "split the pane that
is not on screen" is not a thing to ask anyway. They no longer draw one, and
the click side mirrors the condition. 120 snapshot lines change, every one
of them a one-liner losing its button and nothing else (same width, same
content otherwise; audited mechanically).
Both confirmed by reintroducing each bug and watching the check fail. A third
candidate fix -- resolving a click to the stack's visible member, on the theory
that get_pane_at could return a collapsed sibling -- turned out to be
unnecessary: collapsed members have one-row geoms, so position lookup already
lands on the right pane. Removed rather than kept "just in case".
The check itself was wrong twice before it was right, in the direction that
matters most (reporting failures that were its own): it now reads until the pty
goes quiet instead of for a fixed time, and parses only a freshly forced
repaint, so a half-arrived screen cannot look like a button drawn where it is
not. It clicks every button it can see, and runs against config/config.kdl as
well, whose stacks the minimal config never had.
When the two disagree, the server's own log settles it: log::info! in
intercept_split_button_click, read /tmp/sl0ppij-$UID/sl0ppij-log/.
56 files changed, 463 insertions, 165 deletions
@@ -100,7 +100,10 @@ test: cli-test ## All tests: the CLI, plus the crates we actually modify .PHONY: check-live check-live: dev ## Drive a real session and check the mouse affordances are drawn where they are clicked + @# twice: once with just the frame settings, once with the real config, whose + @# stacks and plugins are what the minimal one kept missing packaging/checks/split-button-live.py $(FORK)/target/fastdev/$(BIN_NAME) + packaging/checks/split-button-live.py $(FORK)/target/fastdev/$(BIN_NAME) config/config.kdl ##@ Package diff --git a/docs/HANDOVER.md b/docs/HANDOVER.md index 6f7f89b..7590af8 100644 --- a/docs/HANDOVER.md +++ b/docs/HANDOVER.md @@ -32,6 +32,16 @@ not drawn in: click test proved nothing. There is now `Pane::frame_rect()` — the rect the frame is actually drawn in — and both the button and (already) the status bar buttons derive from it. +5. **Stacks put the frame somewhere else again**, found only after the above + shipped and the button was still dead on a live session: + - a stack list is drawn over the top rows of its visible member, pushing that + pane's frame down (`reserved_top_rows`, applied by the renderer as a frame + geom override). `frame_rect_with_top_reserved()` applies the same shift, or + every pane in a stack is clickable one row above its own title; + - a stack's **collapsed** members drew a button on their one-row title, which + nothing could honour — that row is the stack's picker. They no longer draw + one (120 snapshot lines, all of them exactly that), and the click side + mirrors the condition. The centre-aligned path, the strong lead in the previous handover, was fine. @@ -44,9 +54,25 @@ exist so this cannot come back: multi-client indication is itself a `+`. - `packaging/checks/split-button-live.py` (`make check-live`) — spawns a real session at a pty, reads the glyph off the screen, attaches a second client to - force the middle builder, then clicks the columns it *found the glyph in* and - confirms the split. Verified to fail on the pre-fix commit for both reasons - (button absent with 2 clients; click in the gap does nothing). + force the middle builder, splits and stacks, and then clicks **every** button + it can see, expecting one new pane each time. Run twice: with a minimal config + and with `config/config.kdl`, because the minimal one has no stacks and that + is where the second round of bugs lived. Each fix was confirmed by putting it + back and watching the check fail. + +Two things about that check are load-bearing, both learned the hard way when it +reported failures that were its own fault: + +- **read until the pty goes quiet**, not for a fixed time. A repaint arrives in + many chunks and half of one looks exactly like a button drawn where it is not. +- **force a full repaint (resize) and parse only that**, because the screen + model here is 80 lines of regex, not a terminal, and stale cells from a + previous layout are indistinguishable from real ones. + +When the check and the code disagree, `log::info!` in +`intercept_split_button_click` and read `/tmp/sl0ppij-$UID/sl0ppij-log/` — the +server's own numbers settled it in one run, after an hour of screen-scraping +theories. One more bug fell out of the width assertion: `render_my_focus` built its full and short forms from the same separator vectors, and `Vec::append` drains — so diff --git a/docs/roadmap.md b/docs/roadmap.md index cf7692c..9afed17 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -228,11 +228,15 @@ to hide it: - the title was budgeted before the button, so a title longer than the frame (i.e. any shell showing a path) consumed its columns; - the click hit-tested the pane's allocation while the frame is drawn inset by - the pane gap, putting the clickable columns two to the right of the glyph. + the pane gap, putting the clickable columns two to the right of the glyph; +- and, found after that shipped, stacks move the frame twice more: a stack list + pushes the visible member's frame down by its reserved rows, and the collapsed + members drew a button on a one-row title that nothing could ever honour. The first three are fixed in `ui/pane_boundaries_frame.rs` by reserving the anchored button before anything else and never discarding the right side; the -fourth by `Pane::frame_rect()`, the rect the frame is actually drawn in. +rest by `Pane::frame_rect_with_top_reserved()`, the rect the frame is actually +drawn in, and by not drawing a button on a stack's collapsed members. **How to re-run the check** -- unit tests were necessary and insufficient here for the fourth time, so this one reads the screen: @@ -241,10 +245,17 @@ for the fourth time, so this one reads the screen: make check-live # packaging/checks/split-button-live.py ``` -It starts a session at a pty with the live frame config, finds the `+` on the -frame, attaches a second client (the middle builder), and clicks the columns the -glyph was found in, expecting `2 -> 3` panes. Confirmed to fail on the commit -before the fix, for both the render and the click. +It starts a session at a pty, finds the `+` on the frame, attaches a second +client (the middle builder), splits and stacks, then clicks every button it can +see and expects one new pane per click. It runs twice, with a minimal config and +with `config/config.kdl` -- the real one, whose stacks are where the second +round of bugs was. Every fix was confirmed by reintroducing it and watching the +check fail. + +If it ever disagrees with the code, do not theorise about the screen: put a +`log::info!` in `intercept_split_button_click` and read +`/tmp/sl0ppij-$UID/sl0ppij-log/`. The server's own geometry settles in one run +what screen-scraping cannot. ## Standing risks diff --git a/packaging/checks/split-button-live.py b/packaging/checks/split-button-live.py index 51b8e25..dd8862d 100755 --- a/packaging/checks/split-button-live.py +++ b/packaging/checks/split-button-live.py @@ -13,7 +13,10 @@ It then attaches a SECOND client, because that is what the live box always had a third title builder again -- the one with a "MY FOCUS" middle, which is where the button was being dropped for two releases. -Usage: split-button-live.py [path-to-sl0ppij] +Usage: split-button-live.py [path-to-sl0ppij] [path-to-config.kdl] + +With no config it uses a minimal one carrying just the live frame settings. +Pass `config/config.kdl` to drive the real thing, layouts and plugins included. Exits non-zero with a description of what it saw. """ @@ -57,23 +60,60 @@ ANSI = re.compile(r"\x1b\[[0-9;?]*[a-zA-Z]|\x1b[]P][^\x07\x1b]*(\x07|\x1b\\)?|\x def screen_rows(raw): - """Rebuild the visible grid from the pty stream: absolute cursor moves plus - printable runs. Enough for reading a frame; not a terminal emulator.""" + """Rebuild the visible grid from the pty stream: cursor moves, erases and + printable runs. Not a terminal emulator, but it must honour the erases -- + without them a pane that shrinks leaves its old frame behind in the model, + and the check then clicks a `+` that is no longer on screen and calls the + product broken.""" grid = {} row = col = 0 i = 0 + + def erase(cells): + for cell in cells: + grid.pop(cell, None) + while i < len(raw): ch = raw[i] if ch == "\x1b": - m = re.match(r"\x1b\[([0-9;]*)([a-zA-Z])", raw[i:]) + m = re.match(r"\x1b\[([0-9;?]*)([a-zA-Z])", raw[i:]) if m: args, verb = m.group(1), m.group(2) - nums = [int(n) for n in args.split(";") if n != ""] - if verb == "H": + nums = [int(n) for n in args.replace("?", "").split(";") if n != ""] + first = nums[0] if nums else 0 + if verb in "Hf": row = (nums[0] - 1) if nums else 0 col = (nums[1] - 1) if len(nums) > 1 else 0 + elif verb == "A": + row = max(0, row - max(1, first)) + elif verb == "B": + row += max(1, first) + elif verb == "C": + col += max(1, first) + elif verb == "D": + col = max(0, col - max(1, first)) + elif verb == "G": + col = max(0, first - 1) elif verb == "J": - grid.clear() + if first == 0: + erase( + [(row, c) for c in range(col, COLS)] + + [(r, c) for r in range(row + 1, ROWS) for c in range(COLS)] + ) + elif first == 1: + erase( + [(row, c) for c in range(0, col + 1)] + + [(r, c) for r in range(0, row) for c in range(COLS)] + ) + else: + grid.clear() + elif verb == "K": + if first == 0: + erase([(row, c) for c in range(col, COLS)]) + elif first == 1: + erase([(row, c) for c in range(0, col + 1)]) + else: + erase([(row, c) for c in range(COLS)]) i += m.end() continue m = re.match(r"\x1b][^\x07\x1b]*(\x07|\x1b\\)", raw[i:]) @@ -109,40 +149,98 @@ def spawn_client(env, args, rows=ROWS, cols=COLS): return pid, fd -def read_screen(fd, buffered, seconds=2.5, until=None): +def repaint(fd, cols=COLS, rows=ROWS): + """Force a full redraw and return an EMPTY buffer to accumulate it into. + + The screen model here is deliberately simple, and the way a simple model + goes wrong is stale cells: a pane that shrinks leaves its old frame behind, + and the check then clicks a `+` that is not on screen any more. A resize + makes the server repaint every cell, so reading from scratch afterwards + cannot see anything that is no longer drawn. + """ + # shrink, throw that paint away, then grow back: what the caller reads next + # is one complete repaint of the final size and nothing else + fcntl.ioctl(fd, termios.TIOCSWINSZ, struct.pack("HHHH", rows, cols - 1, 0, 0)) + time.sleep(0.8) + try: + while os.read(fd, 1 << 20): + pass + except (BlockingIOError, OSError): + pass + fcntl.ioctl(fd, termios.TIOCSWINSZ, struct.pack("HHHH", rows, cols, 0, 0)) + return "" + + +def read_screen(fd, buffered, seconds=2.5, until=None, quiet_for=0.7): + """Accumulate output until the stream goes QUIET, not until a timer expires. + + A repaint arrives in many chunks, and stopping mid-repaint yields a screen + that is half old and half new -- which reads exactly like a button drawn + where it is not. Waiting for silence is the difference between a check that + finds bugs and one that invents them. + """ deadline = time.time() + seconds + last_data = time.time() while time.time() < deadline: - time.sleep(0.4) + time.sleep(0.15) try: - buffered += os.read(fd, 1 << 20).decode("utf8", "replace") + chunk = os.read(fd, 1 << 20).decode("utf8", "replace") except BlockingIOError: - pass + chunk = "" except OSError: break + if chunk: + buffered += chunk + last_data = time.time() + continue if until and until(screen_rows(buffered)): break + if buffered and time.time() - last_data >= quiet_for: + break return buffered, screen_rows(buffered) def find_button(rows): """(row, 0-based column of the `+`) on a pane's top frame row.""" + found = find_buttons(rows) + return found[0] if found else None + + +def find_buttons(rows): + """Every drawn split button: (row, 0-based column of the `+`). + + A frame row can hold more than one, once panes sit side by side.""" + found = [] for y, line in enumerate(rows): - if ("╭" in line or "┌" in line) and " + " in line: - return y, line.index(" + ") + 1 - return None + if "╭" not in line and "┌" not in line: + continue + start = 0 + while True: + at = line.find(" + ", start) + if at < 0: + break + found.append((y, at + 1)) + start = at + 1 + return found def main(): tmp = tempfile.mkdtemp(prefix="sl0p-splitbutton-") - config_file = os.path.join(tmp, "config.kdl") - with open(config_file, "w") as f: - f.write(CONFIG) + if len(sys.argv) > 2: + config_file = os.path.abspath(sys.argv[2]) + config_dir = os.path.dirname(config_file) + print(f"config: {config_file}") + else: + config_file = os.path.join(tmp, "config.kdl") + config_dir = tmp + with open(config_file, "w") as f: + f.write(CONFIG) env = dict(os.environ) env.update( { "SL0PPIJ_SOCKET_DIR": os.path.join(tmp, "sock"), # isolate from live sessions "SL0PPIJ_CONFIG_FILE": config_file, - "SL0PPIJ_CONFIG_DIR": tmp, + "SL0PPIJ_CONFIG_DIR": config_dir, "SL0PPIJ_CACHE_DIR": os.path.join(tmp, "cache"), "TERM": "xterm-256color", "SHELL": "/bin/sh", @@ -173,7 +271,7 @@ def main(): # because a headless `sl0ppi up` leaves a phantom client behind. second_pid, second_fd = spawn_client(env, ["attach", SESSION]) _, second_rows = read_screen(second_fd, "", seconds=10, until=find_button) - raw, rows = read_screen(fd, raw, seconds=5) + raw, rows = read_screen(fd, repaint(fd), seconds=5) focus_middle = any("FOCUS" in r or "| ME |" in r for r in rows + second_rows) if not focus_middle: failures.append("two clients: no focus indication -- the second client did not attach") @@ -198,6 +296,37 @@ def main(): print(f"list-panes: {proc.stdout[:2000]!r} {proc.stderr[:500]!r}") return proc.stdout.count('"pane_x"') + def pane_geometries(): + out = subprocess.run( + [BIN, "-s", SESSION, "action", "list-panes", "--json"], + env=env, + capture_output=True, + text=True, + ).stdout + try: + import json + + return [ + { + k: p[k] + for k in ( + "title", + "is_plugin", + "is_focused", + "pane_x", + "pane_y", + "pane_columns", + "pane_rows", + "pane_content_x", + "pane_content_y", + ) + } + for p in json.loads(out) + if not p["is_plugin"] + ] + except Exception as e: # noqa: BLE001 - diagnostics only + return [f"could not parse list-panes: {e}"] + before = pane_count() # 2. clicking two columns right of the glyph -- where the OLD hit-test @@ -209,16 +338,85 @@ def main(): failures.append("a click in the gap beside the button split the pane") # 3. clicking the drawn glyph splits - os.write(fd, f"\x1b[<0;{x + 1};{y + 1}M".encode()) - os.write(fd, f"\x1b[<0;{x + 1};{y + 1}m".encode()) - time.sleep(2) + def click(col, row): + os.write(fd, f"\x1b[<0;{col + 1};{row + 1}M".encode()) + os.write(fd, f"\x1b[<0;{col + 1};{row + 1}m".encode()) + time.sleep(1.5) + + def settled(): + """A freshly repainted, fully arrived screen.""" + return read_screen(fd, repaint(fd), seconds=8) + + click(x, y) after = pane_count() print(f"panes: {before} -> {after}") + if after != before + 1: + failures.append(f"clicking the drawn button did not split ({before} -> {after})") + + # 4. EVERY drawn button must split the pane it belongs to, not just the + # first one -- panes away from the screen edge are inset differently + # (the gap is only applied at the edges), an unfocused pane is a + # different code path in the handler, and a stacked pane's frame is + # one row somewhere else entirely. + for phase, setup in ( + ("tiled, side by side", None), + ("stacked", ["action", "new-pane", "--", "/bin/sh"]), + ): + if setup: + subprocess.run([BIN, "-s", SESSION] + setup, env=env, capture_output=True) + time.sleep(1) + ids = subprocess.run( + [BIN, "-s", SESSION, "action", "list-panes", "--json"], + env=env, + capture_output=True, + text=True, + ).stdout + terminals = [ + str(m) + for m in re.findall(r'"id": (\d+),\n "is_plugin": false', ids) + ] + if len(terminals) >= 2: + subprocess.run( + [BIN, "-s", SESSION, "action", "stack-panes", "--"] + terminals[:3], + env=env, + capture_output=True, + ) + time.sleep(1.5) + raw, rows = settled() + print(f"{phase}: {len(find_buttons(rows))} button(s) drawn at {find_buttons(rows)}") + if not find_buttons(rows): + failures.append(f"{phase}: no split button drawn at all") + # Re-scan between clicks: every split moves the panes, so a list of + # buttons collected before the first click is stale by the second. + clicked = set() + for _ in range(4): + raw, rows = settled() + todo = [b for b in find_buttons(rows) if b not in clicked] + if not todo: + break + by, bx = todo[0] + clicked.add((by, bx)) + n0 = pane_count() + click(bx, by) + n1 = pane_count() + print(f" click ({by},{bx}): {n0} -> {n1}") + if n1 != n0 + 1: + failures.append( + f"{phase}: the button drawn at row {by} column {bx} did not split" + f" ({n0} -> {n1})" + ) + # the screen the button was found on, so the next reader can + # see WHICH pane's button was ignored, plus the geometry the + # server thinks those panes have + print(f" screen when ({by},{bx}) was clicked:") + print("\n".join(f" {i:02d}|{r}" for i, r in enumerate(rows))) + print(" panes (x, y, cols, rows) per the server:") + for p in pane_geometries(): + print(f" {p}") + if os.environ.get("DEBUG"): raw, rows = read_screen(fd, raw, seconds=1) print("\n".join(f"{i:02d}|{r}" for i, r in enumerate(rows))) - if after != before + 1: - failures.append(f"clicking the drawn button did not split ({before} -> {after})") return failures finally: subprocess.run( diff --git a/sl0ppij/zellij-server/src/panes/plugin_pane.rs b/sl0ppij/zellij-server/src/panes/plugin_pane.rs index 9e96323..a30c8b7 100644 --- a/sl0ppij/zellij-server/src/panes/plugin_pane.rs +++ b/sl0ppij/zellij-server/src/panes/plugin_pane.rs @@ -366,9 +366,13 @@ impl Pane for PluginPane { fn current_geom(&self) -> PaneGeom { self.geom_override.unwrap_or(self.geom) } - fn frame_rect(&self) -> Viewport { - // must match render_frame(), which draws at exactly this rect - Viewport::from(self.current_geom()).inset_by(if self.draws_frame { + fn frame_rect_with_top_reserved(&self, reserved: usize) -> Viewport { + // must match render_frame(), which draws at exactly this rect: the + // stack list's reserved rows first, then the gap inset + let mut geom = self.current_geom(); + geom.y += reserved; + geom.rows.decrease_inner(reserved); + Viewport::from(geom).inset_by(if self.draws_frame { self.gap_offset } else { Offset::default() diff --git a/sl0ppij/zellij-server/src/panes/terminal_pane.rs b/sl0ppij/zellij-server/src/panes/terminal_pane.rs index 5b2e68a..fb49327 100644 --- a/sl0ppij/zellij-server/src/panes/terminal_pane.rs +++ b/sl0ppij/zellij-server/src/panes/terminal_pane.rs @@ -473,9 +473,13 @@ impl Pane for TerminalPane { fn current_geom(&self) -> PaneGeom { self.geom_override.unwrap_or(self.geom) } - fn frame_rect(&self) -> Viewport { - // must match render_frame(), which draws at exactly this rect - Viewport::from(self.current_geom()).inset_by(if self.draws_frame { + fn frame_rect_with_top_reserved(&self, reserved: usize) -> Viewport { + // must match render_frame(), which draws at exactly this rect: the + // stack list's reserved rows first, then the gap inset + let mut geom = self.current_geom(); + geom.y += reserved; + geom.rows.decrease_inner(reserved); + Viewport::from(geom).inset_by(if self.draws_frame { self.gap_offset } else { Offset::default() diff --git a/sl0ppij/zellij-server/src/tab/mod.rs b/sl0ppij/zellij-server/src/tab/mod.rs index 8ce4af6..6636c18 100644 --- a/sl0ppij/zellij-server/src/tab/mod.rs +++ b/sl0ppij/zellij-server/src/tab/mod.rs @@ -459,7 +459,20 @@ pub trait Pane { /// affordance has to use this, or it claims columns the user can see are /// empty (and misses the ones they can see are not). fn frame_rect(&self) -> Viewport { - Viewport::from(self.current_geom()) + self.frame_rect_with_top_reserved(0) + } + /// As `frame_rect`, for a pane whose top `reserved` rows are taken by + /// something drawn over it -- currently a stack list, whose entries live + /// inside the visible member's allocation and push its frame down. + /// + /// The renderer applies this before the gap inset (see + /// `visible_member_frame_override` in `tiled_panes`), and so must this, or + /// the two disagree by a row for every pane in a stack. + fn frame_rect_with_top_reserved(&self, reserved: usize) -> Viewport { + let mut geom = self.current_geom(); + geom.y += reserved; + geom.rows.decrease_inner(reserved); + Viewport::from(geom) } fn geom_override(&self) -> Option<PaneGeom>; fn should_render(&self) -> bool; diff --git a/sl0ppij/zellij-server/src/tab/mouse_handler.rs b/sl0ppij/zellij-server/src/tab/mouse_handler.rs index 6bb2a05..cc11712 100644 --- a/sl0ppij/zellij-server/src/tab/mouse_handler.rs +++ b/sl0ppij/zellij-server/src/tab/mouse_handler.rs @@ -509,16 +509,47 @@ impl MouseHandler { if tab.floating_panes.panes_are_visible() { return Ok(None); } - let Some(pane) = Self::get_pane_at(tab, &event.position, false)? else { + let Some((pane_id, is_selectable)) = Self::get_pane_at(tab, &event.position, false)? + .map(|pane| (pane.pid(), pane.selectable())) + else { return Ok(None); }; - if !pane.selectable() { + if !is_selectable { return Ok(None); } - let frame = pane.frame_rect(); - let pane_id = pane.pid(); + // A stack's collapsed members draw a one-row title and no button (see + // `render_split_button`), so a click on one is not a button click. This + // is the renderer's `pane_is_one_liner_in_stack`, stated on the click + // side so the two cannot disagree. + let geom = tab + .get_pane_with_id(pane_id) + .map(|pane| pane.current_geom()) + .unwrap_or_default(); + if geom.is_stacked() && geom.rows.is_fixed() { + return Ok(None); + } + // A stack list is drawn over the top rows of its visible member's + // allocation, pushing that pane's frame down; the renderer accounts for + // it with a frame geom override, and so must we, or every pane in a + // stack has its button drawn one row below where it is clickable. + // Fullscreen suppresses the list, exactly as in `render`. + let reserved_top_rows = if tab.tiled_panes.fullscreen_is_active() { + 0 + } else { + tab.reserved_top_rows + .borrow() + .get(&pane_id) + .copied() + .unwrap_or(0) + }; + let Some(frame) = tab + .get_pane_with_id(pane_id) + .map(|pane| pane.frame_rect_with_top_reserved(reserved_top_rows)) + else { + return Ok(None); + }; // the title line is the frame's top row - if event.position.line() != frame.y as isize { + if event.position.line() != frame.y as isize || frame.rows <= 1 { return Ok(None); } let Some(columns) = split_button_columns(frame.x, frame.cols) else { diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_define_expanded_pane_in_stack.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_define_expanded_pane_in_stack.snap index 62e452e..48d5d7d 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_define_expanded_pane_in_stack.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_define_expanded_pane_in_stack.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ @@ -20,5 +20,5 @@ expression: snapshot 15 (C): │ ││ │ 16 (C): │ ││ │ 17 (C): │ │└──────────────────────────────────────────────────────────┘ -18 (C): │ │└ Pane #4 ────────────────────────────────────────────── + ┘ -19 (C): └───────────────────────────────────────────────────────────┘└ Pane #5 ────────────────────────────────────────────── + ┘ +18 (C): │ │└ Pane #4 ─────────────────────────────────────────────────┘ +19 (C): └───────────────────────────────────────────────────────────┘└ Pane #5 ─────────────────────────────────────────────────┘ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_horizontally.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_horizontally.snap index a552e25..584c8f6 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_horizontally.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_horizontally.snap @@ -2,10 +2,10 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ───────────────────────────────────────────────────── + ┐┌ Pane #2 ──────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ──────────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #4 ──────────────────────────────────────── + ┐ -03 (C): │ │┌ Pane #5 ──────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ───────────────────────────────────────────────────── + ┐┌ Pane #2 ───────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ───────────────────────────────────────────┐ +02 (C): │ │┌ Pane #4 ───────────────────────────────────────────┐ +03 (C): │ │┌ Pane #5 ───────────────────────────────────────────┐ 04 (C): │ │┌ Pane #6 ──────────────────────────────────────── + ┐ 05 (C): │ ││ │ 06 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_non_directionally.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_non_directionally.snap index fefcfc8..9e6a1cd 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_non_directionally.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_non_directionally.snap @@ -15,8 +15,8 @@ expression: snapshot 10 (C): │ │ 11 (C): │ │ 12 (C): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ -13 (C): ┌ Pane #2 ───────────────────────────────────────────────────── + ┐┌ Pane #4 ──────────────────────────────────────── + ┐ -14 (C): │ │┌ Pane #5 ──────────────────────────────────────── + ┐ +13 (C): ┌ Pane #2 ───────────────────────────────────────────────────── + ┐┌ Pane #4 ───────────────────────────────────────────┐ +14 (C): │ │┌ Pane #5 ───────────────────────────────────────────┐ 15 (C): │ │┌ Pane #6 ──────────────────────────────────────── + ┐ 16 (C): │ ││ │ 17 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_vertically.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_vertically.snap index 34aeb8e..d9b9839 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_vertically.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_into_pane_stack_vertically.snap @@ -15,8 +15,8 @@ expression: snapshot 10 (C): │ │ 11 (C): │ │ 12 (C): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ -13 (C): ┌ Pane #2 ─────────────────────────────────────────────── + ┐┌ Pane #4 ────────────────────────────────────────────── + ┐ -14 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ +13 (C): ┌ Pane #2 ─────────────────────────────────────────────── + ┐┌ Pane #4 ─────────────────────────────────────────────────┐ +14 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────┐ 15 (C): │ │┌ Pane #6 ────────────────────────────────────────────── + ┐ 16 (C): │ ││ │ 17 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_horizontally.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_horizontally.snap index 95b6208..72db34a 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_horizontally.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_horizontally.snap @@ -2,10 +2,10 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ──────────────────────────────────────── + ┐┌ Pane #2 ───────────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ───────────────────────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #4 ───────────────────────────────────────────────────── + ┐ -03 (C): │ │┌ Pane #5 ───────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ──────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────┐ +02 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────┐ +03 (C): │ │┌ Pane #5 ────────────────────────────────────────────────────────┐ 04 (C): │ │┌ Pane #6 ───────────────────────────────────────────────────── + ┐ 05 (C): │ ││ │ 06 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_non_directionally.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_non_directionally.snap index 5aa6d60..08d58eb 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_non_directionally.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_non_directionally.snap @@ -15,8 +15,8 @@ expression: snapshot 10 (C): │ │ 11 (C): │ │ 12 (C): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ -13 (C): ┌ Pane #2 ──────────────────────────────────────── + ┐┌ Pane #4 ───────────────────────────────────────────────────── + ┐ -14 (C): │ │┌ Pane #5 ───────────────────────────────────────────────────── + ┐ +13 (C): ┌ Pane #2 ──────────────────────────────────────── + ┐┌ Pane #4 ────────────────────────────────────────────────────────┐ +14 (C): │ │┌ Pane #5 ────────────────────────────────────────────────────────┐ 15 (C): │ │┌ Pane #6 ───────────────────────────────────────────────────── + ┐ 16 (C): │ ││ │ 17 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_vertically.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_vertically.snap index 30eccbc..8e0b807 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_vertically.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__can_increase_size_of_main_pane_in_stack_vertically.snap @@ -15,8 +15,8 @@ expression: snapshot 10 (C): │ │ 11 (C): │ │ 12 (C): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ -13 (C): ┌ Pane #2 ─────────────────────────────────────────────── + ┐┌ Pane #4 ────────────────────────────────────────────── + ┐ -14 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ +13 (C): ┌ Pane #2 ─────────────────────────────────────────────── + ┐┌ Pane #4 ─────────────────────────────────────────────────┐ +14 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────┐ 15 (C): │ │┌ Pane #6 ────────────────────────────────────────────── + ┐ 16 (C): │ ││ │ 17 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__cannot_decrease_stack_size_beyond_minimum_height.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__cannot_decrease_stack_size_beyond_minimum_height.snap index 8f4f093..cf22000 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__cannot_decrease_stack_size_beyond_minimum_height.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__cannot_decrease_stack_size_beyond_minimum_height.snap @@ -2,9 +2,9 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #3 ────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #3 ─────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #4 ─────────────────────────────────────────────────┐ +02 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────┐ 03 (C): │ │┌ Pane #6 ────────────────────────────────────────────── + ┐ 04 (C): └───────────────────────────────────────────────────────────┘└──────────────────────────────────────────────────────────┘ 05 (C): ┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_main_stacked_pane.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_main_stacked_pane.snap index b7d4758..9f87afa 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_main_stacked_pane.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_main_stacked_pane.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_main_stacked_pane_in_mid_stack.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_main_stacked_pane_in_mid_stack.snap index 80e9b7a..42a98db 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_main_stacked_pane_in_mid_stack.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_main_stacked_pane_in_mid_stack.snap @@ -2,8 +2,8 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────┐ 02 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ 03 (C): │ ││ │ 04 (C): │ ││ │ @@ -21,4 +21,4 @@ expression: snapshot 16 (C): │ ││ │ 17 (C): │ ││ │ 18 (C): │ │└──────────────────────────────────────────────────────────┘ -19 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ────────────────────────────────────────────── + ┘ +19 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ─────────────────────────────────────────────────┘ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_one_liner_stacked_pane_above_main_pane.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_one_liner_stacked_pane_above_main_pane.snap index b40de0b..4482fe6 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_one_liner_stacked_pane_above_main_pane.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_one_liner_stacked_pane_above_main_pane.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ @@ -20,5 +20,5 @@ expression: snapshot 15 (C): │ ││ │ 16 (C): │ ││ │ 17 (C): │ │└──────────────────────────────────────────────────────────┘ -18 (C): │ │└ Pane #5 ────────────────────────────────────────────── + ┘ -19 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ────────────────────────────────────────────── + ┘ +18 (C): │ │└ Pane #5 ─────────────────────────────────────────────────┘ +19 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ─────────────────────────────────────────────────┘ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_one_liner_stacked_pane_below_main_pane.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_one_liner_stacked_pane_below_main_pane.snap index b40de0b..4482fe6 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_one_liner_stacked_pane_below_main_pane.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_one_liner_stacked_pane_below_main_pane.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ @@ -20,5 +20,5 @@ expression: snapshot 15 (C): │ ││ │ 16 (C): │ ││ │ 17 (C): │ │└──────────────────────────────────────────────────────────┘ -18 (C): │ │└ Pane #5 ────────────────────────────────────────────── + ┘ -19 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ────────────────────────────────────────────── + ┘ +18 (C): │ │└ Pane #5 ─────────────────────────────────────────────────┘ +19 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ─────────────────────────────────────────────────┘ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_pane_near_stacked_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_pane_near_stacked_panes.snap index ab4b4ea..e82e3c7 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_pane_near_stacked_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_pane_near_stacked_panes.snap @@ -2,9 +2,9 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────┐ +02 (C): │ │┌ Pane #4 ─────────────────────────────────────────────────┐ 03 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ 04 (C): │ ││ │ 05 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_stacked_pane_with_previously_focused_other_pane.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_stacked_pane_with_previously_focused_other_pane.snap index 9c80d07..2e15bde 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_stacked_pane_with_previously_focused_other_pane.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__close_stacked_pane_with_previously_focused_other_pane.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #3 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #3 ─────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ @@ -11,7 +11,7 @@ expression: snapshot 06 (C): │ ││ │ 07 (C): │ ││ │ 08 (C): │ │└──────────────────────────────────────────────────────────┘ -09 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ────────────────────────────────────────────── + ┘ +09 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ─────────────────────────────────────────────────┘ 10 (C): ┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 11 (C): │ │ 12 (C): │ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__decreasing_size_of_whole_tab_treats_stacked_panes_properly.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__decreasing_size_of_whole_tab_treats_stacked_panes_properly.snap index a49ecff..81b932c 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__decreasing_size_of_whole_tab_treats_stacked_panes_properly.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__decreasing_size_of_whole_tab_treats_stacked_panes_properly.snap @@ -2,10 +2,10 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ──────────────────────────────────── + ┐┌ Pane #2 ──────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ──────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #4 ──────────────────────────────────── + ┐ -03 (C): │ │┌ Pane #5 ──────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ──────────────────────────────────── + ┐┌ Pane #2 ───────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ───────────────────────────────────────┐ +02 (C): │ │┌ Pane #4 ───────────────────────────────────────┐ +03 (C): │ │┌ Pane #5 ───────────────────────────────────────┐ 04 (C): │ │┌ Pane #6 ──────────────────────────────────── + ┐ 05 (C): │ ││ │ 06 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_last_stacked_pane.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_last_stacked_pane.snap index 43d2647..fce4b17 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_last_stacked_pane.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_last_stacked_pane.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ @@ -21,4 +21,4 @@ expression: snapshot 16 (C): │ ││ │ 17 (C): │ ││ │ 18 (C): │ │└──────────────────────────────────────────────────────────┘ -19 (C): └───────────────────────────────────────────────────────────┘└ Pane #4 ────────────────────────────────────────────── + ┘ +19 (C): └───────────────────────────────────────────────────────────┘└ Pane #4 ─────────────────────────────────────────────────┘ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_next_pane_expands_stacked_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_next_pane_expands_stacked_panes.snap index 067e308..076ce70 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_next_pane_expands_stacked_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_next_pane_expands_stacked_panes.snap @@ -9,9 +9,9 @@ expression: snapshot 04 (C): │ ││ │ 05 (C): │ ││ │ 06 (C): │ │└──────────────────────────────────────────────────────────┘ -07 (C): │ │└ Pane #4 ────────────────────────────────────────────── + ┘ -08 (C): │ │└ Pane #5 ────────────────────────────────────────────── + ┘ -09 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ────────────────────────────────────────────── + ┘ +07 (C): │ │└ Pane #4 ─────────────────────────────────────────────────┘ +08 (C): │ │└ Pane #5 ─────────────────────────────────────────────────┘ +09 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ─────────────────────────────────────────────────┘ 10 (C): ┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 11 (C): │ │ 12 (C): │ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_stacked_pane_over_flexible_pane_with_the_mouse.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_stacked_pane_over_flexible_pane_with_the_mouse.snap index 14113f3..02deafa 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_stacked_pane_over_flexible_pane_with_the_mouse.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_stacked_pane_over_flexible_pane_with_the_mouse.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #3 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #3 ─────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ @@ -10,8 +10,8 @@ expression: snapshot 05 (C): │ ││ │ 06 (C): │ ││ │ 07 (C): │ │└──────────────────────────────────────────────────────────┘ -08 (C): │ │└ Pane #5 ────────────────────────────────────────────── + ┘ -09 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ────────────────────────────────────────────── + ┘ +08 (C): │ │└ Pane #5 ─────────────────────────────────────────────────┘ +09 (C): └───────────────────────────────────────────────────────────┘└ Pane #6 ─────────────────────────────────────────────────┘ 10 (C): ┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 11 (C): │ │ 12 (C): │ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_stacked_pane_under_flexible_pane_with_the_mouse.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_stacked_pane_under_flexible_pane_with_the_mouse.snap index b6affb9..05bec9c 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_stacked_pane_under_flexible_pane_with_the_mouse.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__focus_stacked_pane_under_flexible_pane_with_the_mouse.snap @@ -2,9 +2,9 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #3 ────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #3 ─────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #4 ─────────────────────────────────────────────────┐ +02 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────┐ 03 (C): │ │┌ Pane #6 ────────────────────────────────────────────── + ┐ 04 (C): │ ││ │ 05 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-10.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-10.snap index 96193bd..6be9320 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-10.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-10.snap @@ -2,8 +2,8 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────┐ 02 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 03 (C): │ ││ │ 04 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-11.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-11.snap index a4a6962..edfa810 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-11.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-11.snap @@ -10,7 +10,7 @@ expression: snapshot 05 (C): │ ││ │ 06 (C): │ ││ │ 07 (C): │ │└──────────────────────────────────────────────────────────────────────────────────────────────────┘ -08 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +08 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────┐ 09 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 10 (C): │ ││ │ 11 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-12.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-12.snap index 2f6af11..00ec67a 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-12.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-12.snap @@ -22,7 +22,7 @@ expression: snapshot 17 (C): │ ││ │ 18 (C): │ ││ │ 19 (C): │ │└──────────────────────────────────────────────────────────────────────────────────────────────────┘ -20 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +20 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────┐ 21 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 22 (C): │ ││ │ 23 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-2.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-2.snap index a4a6962..edfa810 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-2.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-2.snap @@ -10,7 +10,7 @@ expression: snapshot 05 (C): │ ││ │ 06 (C): │ ││ │ 07 (C): │ │└──────────────────────────────────────────────────────────────────────────────────────────────────┘ -08 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +08 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────┐ 09 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 10 (C): │ ││ │ 11 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-3.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-3.snap index 96193bd..6be9320 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-3.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-3.snap @@ -2,8 +2,8 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────┐ 02 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 03 (C): │ ││ │ 04 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-4.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-4.snap index c10f041..bf156ad 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-4.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-4.snap @@ -2,8 +2,8 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ 02 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 03 (C): │ ││ │ 04 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-5.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-5.snap index 945a11c..feb598e 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-5.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-5.snap @@ -2,9 +2,9 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ -01 (C): ┌ Pane #2 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ -02 (C): ┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +01 (C): ┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +02 (C): ┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ 03 (C): ┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 04 (C): │ │ 05 (C): │ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-8.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-8.snap index 945a11c..feb598e 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-8.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-8.snap @@ -2,9 +2,9 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ -01 (C): ┌ Pane #2 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ -02 (C): ┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +01 (C): ┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +02 (C): ┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ 03 (C): ┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 04 (C): │ │ 05 (C): │ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-9.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-9.snap index c10f041..bf156ad 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-9.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes-9.snap @@ -2,8 +2,8 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ 02 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 03 (C): │ ││ │ 04 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes.snap index 2f6af11..00ec67a 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes.snap @@ -22,7 +22,7 @@ expression: snapshot 17 (C): │ ││ │ 18 (C): │ ││ │ 19 (C): │ │└──────────────────────────────────────────────────────────────────────────────────────────────────┘ -20 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +20 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────┐ 21 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 22 (C): │ ││ │ 23 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes-2.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes-2.snap index 1237a6a..4fa97c7 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes-2.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes-2.snap @@ -2,9 +2,9 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #4 ────────────────────────────────────────────────────────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #5 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #4 ─────────────────────────────────────────────────────────────────────────────────────────┐ +02 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────────────────────────────────────────────┐ 03 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 04 (C): │ ││ │ 05 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes-3.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes-3.snap index 1ffbd08..e1fb8ee 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes-3.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes-3.snap @@ -12,7 +12,7 @@ expression: snapshot 07 (C): │ ││ ││ │ 08 (C): │ ││ ││ │ 09 (C): │ │└────────────────────────────────────────────────┘└────────────────────────────────────────────────┘ -10 (C): │ │┌ Pane #5 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +10 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────────────────────────────────────────────┐ 11 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 12 (C): │ ││ │ 13 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes.snap index 1ffbd08..e1fb8ee 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increase_tiled_pane_sizes_with_stacked_resizes_into_uneven_panes.snap @@ -12,7 +12,7 @@ expression: snapshot 07 (C): │ ││ ││ │ 08 (C): │ ││ ││ │ 09 (C): │ │└────────────────────────────────────────────────┘└────────────────────────────────────────────────┘ -10 (C): │ │┌ Pane #5 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +10 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────────────────────────────────────────────┐ 11 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 12 (C): │ ││ │ 13 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increasing_size_of_whole_tab_treats_stacked_panes_properly.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increasing_size_of_whole_tab_treats_stacked_panes_properly.snap index 99d9fca..a603396 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increasing_size_of_whole_tab_treats_stacked_panes_properly.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__increasing_size_of_whole_tab_treats_stacked_panes_properly.snap @@ -2,10 +2,10 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ -03 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────┐ +02 (C): │ │┌ Pane #4 ─────────────────────────────────────────────────┐ +03 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────┐ 04 (C): │ │┌ Pane #6 ────────────────────────────────────────────── + ┐ 05 (C): │ ││ │ 06 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_down_into_stacked_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_down_into_stacked_panes.snap index 0683fc4..1326631 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_down_into_stacked_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_down_into_stacked_panes.snap @@ -15,7 +15,7 @@ expression: snapshot 10 (C): │ ││ │ 11 (C): │ ││ │ 12 (C): │ │└──────────────────────────────────────────────────────────┘ -13 (C): └───────────────────────────────────────────────────────────┘└ Pane #5 ────────────────────────────────────────────── + ┘ +13 (C): └───────────────────────────────────────────────────────────┘└ Pane #5 ─────────────────────────────────────────────────┘ 14 (C): ┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 15 (C): │ │ 16 (C): │ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_down_with_stacked_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_down_with_stacked_panes.snap index 9d5f1c6..e0a081a 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_down_with_stacked_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_down_with_stacked_panes.snap @@ -2,8 +2,8 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────┐ 02 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ 03 (C): │ ││ │ 04 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_left_into_stacked_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_left_into_stacked_panes.snap index 7953538..0684217 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_left_into_stacked_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_left_into_stacked_panes.snap @@ -2,17 +2,17 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #3 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ -01 (C): ┌ Pane #4 ─────────────────────────────────────────────── + ┐│ │ -02 (C): ┌ Pane #5 ─────────────────────────────────────────────── + ┐│ │ -03 (C): ┌ Pane #6 ─────────────────────────────────────────────── + ┐│ │ -04 (C): ┌ Pane #7 ─────────────────────────────────────────────── + ┐│ │ -05 (C): ┌ Pane #8 ─────────────────────────────────────────────── + ┐│ │ -06 (C): ┌ Pane #9 ─────────────────────────────────────────────── + ┐│ │ -07 (C): ┌ Pane #10 ────────────────────────────────────────────── + ┐│ │ -08 (C): ┌ Pane #11 ────────────────────────────────────────────── + ┐│ │ -09 (C): ┌ Pane #12 ────────────────────────────────────────────── + ┐└──────────────────────────────────────────────────────────┘ -10 (C): ┌ Pane #13 ────────────────────────────────────────────── + ┐┌ Pane #15 ───────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #3 ──────────────────────────────────────────────────┐┌ Pane #2 ────────────────────────────────────────────── + ┐ +01 (C): ┌ Pane #4 ──────────────────────────────────────────────────┐│ │ +02 (C): ┌ Pane #5 ──────────────────────────────────────────────────┐│ │ +03 (C): ┌ Pane #6 ──────────────────────────────────────────────────┐│ │ +04 (C): ┌ Pane #7 ──────────────────────────────────────────────────┐│ │ +05 (C): ┌ Pane #8 ──────────────────────────────────────────────────┐│ │ +06 (C): ┌ Pane #9 ──────────────────────────────────────────────────┐│ │ +07 (C): ┌ Pane #10 ─────────────────────────────────────────────────┐│ │ +08 (C): ┌ Pane #11 ─────────────────────────────────────────────────┐│ │ +09 (C): ┌ Pane #12 ─────────────────────────────────────────────────┐└──────────────────────────────────────────────────────────┘ +10 (C): ┌ Pane #13 ─────────────────────────────────────────────────┐┌ Pane #15 ───────────────────────────────────────────── + ┐ 11 (C): ┌ Pane #14 ────────────────────────────────────────────── + ┐│ │ 12 (C): │ ││ │ 13 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_right_into_stacked_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_right_into_stacked_panes.snap index d4f253e..d3dc853 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_right_into_stacked_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_right_into_stacked_panes.snap @@ -2,17 +2,17 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ -02 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ -03 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ -04 (C): │ │┌ Pane #6 ────────────────────────────────────────────── + ┐ -05 (C): │ │┌ Pane #7 ────────────────────────────────────────────── + ┐ -06 (C): │ │┌ Pane #8 ────────────────────────────────────────────── + ┐ -07 (C): │ │┌ Pane #9 ────────────────────────────────────────────── + ┐ -08 (C): │ │┌ Pane #10 ───────────────────────────────────────────── + ┐ -09 (C): └───────────────────────────────────────────────────────────┘┌ Pane #11 ───────────────────────────────────────────── + ┐ -10 (C): ┌ Pane #14 ────────────────────────────────────────────── + ┐┌ Pane #12 ───────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────┐ +02 (C): │ │┌ Pane #4 ─────────────────────────────────────────────────┐ +03 (C): │ │┌ Pane #5 ─────────────────────────────────────────────────┐ +04 (C): │ │┌ Pane #6 ─────────────────────────────────────────────────┐ +05 (C): │ │┌ Pane #7 ─────────────────────────────────────────────────┐ +06 (C): │ │┌ Pane #8 ─────────────────────────────────────────────────┐ +07 (C): │ │┌ Pane #9 ─────────────────────────────────────────────────┐ +08 (C): │ │┌ Pane #10 ────────────────────────────────────────────────┐ +09 (C): └───────────────────────────────────────────────────────────┘┌ Pane #11 ────────────────────────────────────────────────┐ +10 (C): ┌ Pane #14 ────────────────────────────────────────────── + ┐┌ Pane #12 ────────────────────────────────────────────────┐ 11 (C): │ │┌ Pane #13 ───────────────────────────────────────────── + ┐ 12 (C): │ ││ │ 13 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_up_into_stacked_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_up_into_stacked_panes.snap index 02b61d8..024d182 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_up_into_stacked_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_up_into_stacked_panes.snap @@ -9,7 +9,7 @@ expression: snapshot 04 (C): │ │ 05 (C): │ │ 06 (C): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ -07 (C): ┌ Pane #2 ─────────────────────────────────────────────── + ┐┌ Pane #4 ────────────────────────────────────────────── + ┐ +07 (C): ┌ Pane #2 ─────────────────────────────────────────────── + ┐┌ Pane #4 ─────────────────────────────────────────────────┐ 08 (C): │ │┌ Pane #5 ────────────────────────────────────────────── + ┐ 09 (C): │ ││ │ 10 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_up_with_stacked_panes.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_up_with_stacked_panes.snap index 43d2647..fce4b17 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_up_with_stacked_panes.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__move_focus_up_with_stacked_panes.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ @@ -21,4 +21,4 @@ expression: snapshot 16 (C): │ ││ │ 17 (C): │ ││ │ 18 (C): │ │└──────────────────────────────────────────────────────────┘ -19 (C): └───────────────────────────────────────────────────────────┘└ Pane #4 ────────────────────────────────────────────── + ┘ +19 (C): └───────────────────────────────────────────────────────────┘└ Pane #4 ─────────────────────────────────────────────────┘ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__new_pane_in_stacked_resizes-4.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__new_pane_in_stacked_resizes-4.snap index ad57995..a6903b7 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__new_pane_in_stacked_resizes-4.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__new_pane_in_stacked_resizes-4.snap @@ -22,7 +22,7 @@ expression: snapshot 17 (C): │ ││ │ 18 (C): │ ││ │ 19 (C): │ │└──────────────────────────────────────────────────────────────────────────────────────────────────┘ -20 (C): │ │┌ Pane #3 ──────────────────────────────────── + ┐┌ Pane #4 ──────────────────────────────────── + ┐ +20 (C): │ │┌ Pane #3 ──────────────────────────────────── + ┐┌ Pane #4 ───────────────────────────────────────┐ 21 (C): │ ││ │┌ Pane #5 ──────────────────────────────────── + ┐ 22 (C): │ ││ ││ │ 23 (C): │ ││ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__new_stacked_pane.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__new_stacked_pane.snap index ed910f9..e104ac3 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__new_stacked_pane.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__new_stacked_pane.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ 01 (C): ┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 02 (C): │ │ 03 (C): │ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__split_stack_horizontally.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__split_stack_horizontally.snap index 8ffe750..081a43a 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__split_stack_horizontally.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__split_stack_horizontally.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────┐ 01 (C): │ │┌ Pane #3 ────────────────────────────────────────────────────────────────────────────────────── + ┐ 02 (C): │ ││ │ 03 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__split_stack_vertically.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__split_stack_vertically.snap index 4b6aac6..629cebd 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__split_stack_vertically.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__split_stack_vertically.snap @@ -2,7 +2,7 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ──────────────────────────────────── + ┐┌ Pane #4 ──────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ────────────────────────────────────────────────────────────────────────────────────── + ┐┌ Pane #2 ───────────────────────────────────────┐┌ Pane #4 ──────────────────────────────────── + ┐ 01 (C): │ │┌ Pane #3 ──────────────────────────────────── + ┐│ │ 02 (C): │ ││ ││ │ 03 (C): │ ││ ││ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__swap_tiled_layout_with_only_stacked_children.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__swap_tiled_layout_with_only_stacked_children.snap index cd3da1e..035a07d 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__swap_tiled_layout_with_only_stacked_children.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__swap_tiled_layout_with_only_stacked_children.snap @@ -2,9 +2,9 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ -01 (C): ┌ Pane #2 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ -02 (C): ┌ Pane #3 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +01 (C): ┌ Pane #2 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ +02 (C): ┌ Pane #3 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ 03 (C): ┌ Pane #4 ─────────────────────────────────────────────────────────────────────────────────────────────────────────── + ┐ 04 (C): │ │ 05 (C): │ │ diff --git a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__swap_tiled_layout_with_stacked_children.snap b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__swap_tiled_layout_with_stacked_children.snap index 9d5f1c6..e0a081a 100644 --- a/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__swap_tiled_layout_with_stacked_children.snap +++ b/sl0ppij/zellij-server/src/tab/unit/snapshots/zellij_server__tab__tab_integration_tests__swap_tiled_layout_with_stacked_children.snap @@ -2,8 +2,8 @@ source: zellij-server/src/tab/./unit/tab_integration_tests.rs expression: snapshot --- -00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ────────────────────────────────────────────── + ┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────────────────── + ┐ +00 (C): ┌ Pane #1 ─────────────────────────────────────────────── + ┐┌ Pane #2 ─────────────────────────────────────────────────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────────────────┐ 02 (C): │ │┌ Pane #4 ────────────────────────────────────────────── + ┐ 03 (C): │ ││ │ 04 (C): │ ││ │ diff --git a/sl0ppij/zellij-server/src/ui/pane_boundaries_frame.rs b/sl0ppij/zellij-server/src/ui/pane_boundaries_frame.rs index 7fffceb..e51b364 100644 --- a/sl0ppij/zellij-server/src/ui/pane_boundaries_frame.rs +++ b/sl0ppij/zellij-server/src/ui/pane_boundaries_frame.rs @@ -399,6 +399,14 @@ impl PaneFrame { if self.is_floating { return None; } + // Not on a stack's collapsed members. Their title is a one-row line + // that doubles as the picker for the stack, they are drawn at + // geometries the hit-test cannot reconstruct from the pane alone, and + // "split THIS one" is not a meaningful thing to ask of a pane that is + // not on screen. The stack's visible member keeps its button. + if self.pane_is_stacked_over || self.pane_is_stacked_under || self.geom.rows <= 1 { + return None; + } if max_length < SPLIT_BUTTON_WIDTH { return None; } diff --git a/sl0ppij/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__screen_can_break_multiple_stacked_panes_to_a_new_tab.snap b/sl0ppij/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__screen_can_break_multiple_stacked_panes_to_a_new_tab.snap index 5fed2bb..ebb8941 100644 --- a/sl0ppij/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__screen_can_break_multiple_stacked_panes_to_a_new_tab.snap +++ b/sl0ppij/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__screen_can_break_multiple_stacked_panes_to_a_new_tab.snap @@ -20,5 +20,5 @@ expression: "format!(\"{}\", snapshot)" 15 (C): │ │ 16 (C): │ │ 17 (C): └──────────────────────────────────────────────────────────────────────────────┘ -18 (C): └ pane_to_break_1 ────────────────────────────────────────────────────────── + ┘ -19 (C): └ pane_to_break_2 ────────────────────────────────────────────────────────── + ┘ +18 (C): └ pane_to_break_1 ─────────────────────────────────────────────────────────────┘ +19 (C): └ pane_to_break_2 ─────────────────────────────────────────────────────────────┘ diff --git a/sl0ppij/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_stack_panes_action-2.snap b/sl0ppij/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_stack_panes_action-2.snap index fd23947..0b4fb83 100644 --- a/sl0ppij/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_stack_panes_action-2.snap +++ b/sl0ppij/zellij-server/src/unit/snapshots/zellij_server__screen__screen_tests__send_cli_stack_panes_action-2.snap @@ -2,8 +2,8 @@ source: zellij-server/src/./unit/screen_tests.rs expression: "format!(\"{}\", snapshot)" --- -00 (C): ┌ Pane #1 ─────┐┌ Pane #2 ────────────────────────────────── + ┐┌ Pane #5 ─────┐ -01 (C): │ │┌ Pane #3 ────────────────────────────────── + ┐│ │ +00 (C): ┌ Pane #1 ─────┐┌ Pane #2 ─────────────────────────────────────┐┌ Pane #5 ─────┐ +01 (C): │ │┌ Pane #3 ─────────────────────────────────────┐│ │ 02 (C): │ │┌ Pane #4 ────────────────────────────────── + ┐│ │ 03 (C): │ ││ ││ │ 04 (C): │ ││ ││ │ |
