feat(new-pane): add recursive tail births for fibonacci layouts #124

Merged
barrettruth merged 1 commit from feat/recursive-and-centered-new-pane into main 2026-04-28 04:54:33 +00:00
barrettruth commented 2026-04-28 04:45:00 +00:00

Problem

Issues #108 and #109 are the first recursive-layout new-pane cases where the next pane can often be born directly in the recursive tail instead of going through the generic append path first.

Solution

Closes #108. Closes #109 by adding a shared Fibonacci birth helper in scripts/helpers.sh, using it for dwindle and the easy spiral leaf-node phases, and extending tests/integration/new_pane_fast_paths.bats to pin both the helper dispatch and the pre-relayout geometry. The harder spiral node-leaf phases still fall back to append and remain out of scope here.

## Problem Issues #108 and #109 are the first recursive-layout `new-pane` cases where the next pane can often be born directly in the recursive tail instead of going through the generic append path first. ## Solution Closes #108. Closes #109 by adding a shared Fibonacci birth helper in `scripts/helpers.sh`, using it for `dwindle` and the easy `spiral` leaf-node phases, and extending `tests/integration/new_pane_fast_paths.bats` to pin both the helper dispatch and the pre-relayout geometry. The harder `spiral` node-leaf phases still fall back to append and remain out of scope here.
Sign in to join this conversation.
No description provided.