Skip to content

fix(show-me): keep the header's counters and keys on one line - #11

Merged
arasovic merged 1 commit into
mainfrom
fix/show-me-header-row
Oct 10, 2026
Merged

arasovic merged 1 commit into
mainfrom
fix/show-me-header-row

Conversation

@arasovic

Copy link
Copy Markdown
Owner

On a narrow pane, every part of the show-me header could shrink or wrap. "turn 1/2" could break over two lines, and a long title could push the ‹ › open close keys out of view.

  • The counters ("1/3", "turn 1/2") and the keys now hold their width. Only the title gives way, cut with an ellipsis instead of wrapping.
  • The header is the same on every surface, so the terminal gets this too.
  • A new test, run on the terminal and on desktop, checks that the title truncates and that the counters and keys sit in boxes that do not shrink. It fails on the previous code.
  • Version 0.4.7.

On a narrow pane the header's parts all gave way: "turn 1/2" could break
over two lines and a long title could push the keys out. The counters and
keys now hold their width and only the title is cut.
@arasovic
arasovic merged commit a77d669 into main Oct 10, 2026
1 check passed
@arasovic
arasovic deleted the fix/show-me-header-row branch October 10, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant