feat(algorithm): deck #45
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#45
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
deckalgorithm — one visible master pane plus a stacked "deck" area where only one stack pane is visible at a time. This is a classic dwm layout and a strong terminal fit.Scope
scripts/algorithms/deck.shpromoteandresize-mastershould work like master-stackAcceptance criteria
@mosaic-algorithm deckapplies master + deck behaviorpromoteswaps the focused stack pane into masterresize-master ±Nresizes master and persists in@mosaic-mfactmaster-stackandmonocleImplementation notes
Conceptually this is "master + monocle stack".
Part of #42.
Closing this as out of scope for tmux.
Canonical
decksemantics are clear from dwm: it supportsnmaster, keeps the master area visible, and places every non-master client into the same stack rectangle so the focused stack client is the one visible on top.That does not map cleanly to tmux. tmux pane layouts are non-overlapping split trees, and window zoom hides everything except the active pane, so there is no faithful way to keep the master area visible while also making the stack behave like a true overlapping deck.
A tmux-specific approximation could be discussed separately later, but a real
decklayout is not representable here without changing the contract.