Repository navigation
feat(tui): compact prompt spacing and tool panels - #152
Merged
Merged
Conversation
- Replace the input box's full-row top padding with a half-block top edge mirroring the existing bottom edge - Drop the session container's paddingBottom and gap (the gap left a phantom row between the prompt and the zero-height spacer); move the transcript-to-prompt separation to marginTop on the prompt block, so the footer sits on the terminal's last row - Remove BlockTool's background-colored left border glyph that rendered as a stray vertical line on tool-output panels; paddingLeft 2 -> 3 keeps the content column Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The half-block top edge is now the only separation between the last transcript line and the input box. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
paddingTop={1}is replaced by a half-block▄top-edge row, mirroring the existing▀bottom edge, so the box keeps a visible lip at half the height.paddingBottom={1}and itsgap={1}— the gap fired between every pair of children: it left a phantom blank row between the prompt block and the trailing zero-height flexGrow spacer, and a full blank row between the transcript and the input box. The half-block lip is now the only transcript↔prompt separation, and the status footer sits on the terminal's last row instead of two rows above it.BlockTooldrew aborder={["left"]}┃glyph intheme.backgroundover the panel background, which rendered as an odd thin vertical line along the left edge of bash/generic tool output. The border props are removed andpaddingLeftgoes 2 → 3 so the content column is unchanged. The red error-block accent border is untouched.Verification
bun typecheckinpackages/tuitest/todo-panel.view.test.tsx,test/interrupt.view.test.tsx,test/sidebar-hint.view.test.tsxpass$ lsoutput panelBookkeeping
DIVERGENCES.md: new row for the prompt/footer spacing;BlockToolborder removal folded into the existing left-accent-border rowCHANGELOG.md: two Unreleased TUI entries🤖 Generated with Claude Code