Repository navigation
fix(tui): lay out the /help notes as labelled entries like the commands - #37
Merged
Merged
Conversation
The notes /help prints above the command reference were paragraphs at the margin, each wrapping back to it, so the notes ran into each other beside the aligned command list. Each is now an entry: two spaces, a short label (Themes, Clickable text, Selection, Double click, Mouse, Window 0, Reactions, New windows, Names), the text from column 25, wrapping under itself through refRows as the commands do. specs/ui.md says so with the reason; TestHelpNotesAreEntries pins the layout.
Mark the item done in todo/todo.md and add session/2026-11-04-help-notes.md.
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.
The notes /help prints above the command reference were paragraphs at the left margin, each wrapping back to it, so it was hard to see where one note ended and the next began, next to the aligned command list.
Each note is now an entry laid out as a command's: two spaces, a short label (Themes, Clickable text, Selection, Double click, Mouse, Window 0, Reactions, New windows, Names), and the text from column 25, wrapping under itself. The wording is unchanged, only split into label and text. specs/ui.md describes the layout with a Decision line, TestHelpNotesAreEntries pins it, and the tests that quoted the old sentences follow the new text. Checked in the demo.
make check and the race tests pass.