fix(psmux): widen the cwd→clock gap in status-right - #163
Merged
Conversation
The nvim cwd segment sat too close to the magenta clock. Double the literal separator run so the two read as distinct segments. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016vBxayZLa4h9xhJiJxYVVZ
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Plain `centre` centers the window list in the gap between status-left and status-right, so the variable-width session pill (wider with prefix active) and the cwd in status-right pushed the tabs off the true middle. Switch to `absolute-centre`, which anchors the tabs to the bar's absolute center regardless of either float's width. Deliberate divergence from Core's `centre`, documented in docs/PORTING-NOTES.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016vBxayZLa4h9xhJiJxYVVZ
Gerrrt
pushed a commit
that referenced
this pull request
Aug 1, 2026
#163 landed on main after this branch was cut, adding an [Unreleased] entry while this branch had promoted that section to v1.5.0 — hence the conflict. Resolved by folding #163's entry INTO v1.5.0 rather than into the new empty [Unreleased]. v1.5.0 is not tagged yet, so cutting the tag at main's tip will include #163's commit; filing it under [Unreleased] would claim it ships in the next release when it actually ships in this one. Three related fixes were reconciled while merging, since they are one symptom iterated rather than three independent entries: - absolute-centre is the real fix for the tab drift that the equal-width prefix cell was working around; both entries now say so. - #163 also widened the cwd->clock gap 6 -> 12 spaces, which its own changelog entry omitted. Folded into the existing gap entry, which now reads as the two passes it was. - The Changed entry described the port as `status-justify centre`, which v1.5.0 no longer ships. Points at the Fixed entry now. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CzKmTKtvGgsa82MCxPPy5i
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Doubles the literal separator run between the nvim cwd segment and the magenta clock in
status-right(6 → 12 spaces).Why
Live feedback: when in nvim, the cwd basename sat too close to the clock, so the two blurred into one segment. A wider gap makes them read as distinct.
CSS-free, single-line config change; no behavior change when not in nvim (the run is right-aligned padding either way).
Testing
Reload psmux (
prefix + r) and open an nvim pane — the <dir>and HH:MMshould now have clear separation.🤖 Generated with Claude Code
Generated by Claude Code