feat: make dwindle new-pane split the recursive tail directly #108
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic#108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
dwindleis a recursively tail-refining layout. When the intended target leaf is large enough, explicit managednew-paneshould be able to split that recursive tail directly instead of accepting avoidable full-layout churn.Blocked by: #101, #102
Proposed solution
Implement a layout-aware explicit
new-panepath fordwindlethat targets the current recursive tail leaf directly. Accept later ratio correction from relayout, but not cross-subtree birth when the target leaf is splittable.Keep min-size fallback policy out of scope for this issue.
Context
In the current topology matrix,
dwindleis one of the cleanest algorithmic cases: when the tail leaf can still be split, the next pane is just a refinement of that leaf. The strongest surveyed external analog (tmux-tiling-revamped) still chooses full BSP reprojection after split instead.Acceptance notes
Alternatives considered