feat: make even-vertical new-pane birth directly into the column tail #104
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#104
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-vertical, the next pane always belongs at the column tail. Even though the column 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-verticaltarget the semantic column tail directly during explicit managednew-pane. Accept full-column 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 top-to-bottom columnn >= 2, where the new pane should be born at the column tail before equalizationContext
This is one of the easy local-win layouts in the
new-panetopology matrix. External precedent in the surveyed plugins is still mostly “split generically, then re-equalize,” but this case should be simpler than that.Acceptance notes
1 -> 2should not flash through a horizontal row.n, subsequent full-column equalization is acceptable.Alternatives considered
select-layout even-vertical.