feat: make even-horizontal new-pane birth directly into the row tail #103
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#103
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
For
even-horizontal, the next pane always belongs at the row tail. Even though the row will still equalize afterward, explicit managednew-paneshould not have to birth the pane in the wrong branch first.Blocked by: #101, #102
Proposed solution
Make
even-horizontaltarget the semantic row tail directly during explicit managednew-pane. Accept full-row equalization afterward, but not a first-frame birth in the wrong branch.Add or extend tests for:
1 -> 2, where the first frame should already be a left-to-right rown >= 2, where the new pane should be born at the row tail before equalizationContext
This is one of the easy local-win layouts in the
new-panetopology matrix. External precedents liketmux-tilitanddeckintmux-tiling-revampedlargely accept full equalization after split, but that does not mean the first branch must be wrong.Acceptance notes
1 -> 2should not flash through a vertical stack.n, subsequent full-row equalization is acceptable.Alternatives considered
select-layout even-horizontal.