refactor(shell): consolidate reusable layout helpers #135
No reviewers
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!135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/final-cleanup"
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
The shell code carried repeated layout geometry, pane-base, resize, and toggle plumbing across multiple layout files, and the release helper still used a Bash-only lowercase expansion that kept the documented Bash floor looser than the implementation.
Solution
Move shared layout and ownership helpers into
scripts/helpers.sh, route toggle handling through the central dispatcher, reuse the shared helpers from the master-stack, centered-master, and three-column layouts, replace the nightly SHA lowercasing with a Bash-3.2-compatibletrpath, add coverage for mixed-case SHAs, and document Bash 3.2+ in the README.