feat(algorithm): monocle #7
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic#7
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?
Add a
monoclealgorithm — every pane fullscreen, focus cycles between them. dwm's monocle layout.Scope
scripts/algorithms/monocle.shalgo_relayoutensures the active pane is zoomed (viaresize-pane -Z); if not currently zoomed, zoom italgo_togglematches master-stack's patternalgo_promote/algo_resize_master/algo_sync_stateNOT defined (no master, no width)Acceptance criteria
scripts/algorithms/monocle.shexists@mosaic-enabled 1with@mosaic-algorithm monoclezooms the focused paneselect-pane -t :.+on a monocle window: focused pane changes, zoom follows (tmux's native zoom-on-active behavior + our relayout hook)Open question
Does
select-paneun-zoom by default? If so,relayoutre-zooms — verify the UX feels right (might be a 1-frame flash). If it bugs, overridealgo_focus_next/prevto atomically un-zoom + re-zoom on the new active.