Repository navigation
fix(tui): remove the left accent line from messages and prompt - #125
Merged
Merged
Conversation
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.
Removes the agent-colored (teal by default) vertical bar along the left edge of sent user messages and the prompt input box.
Changes
packages/tui/src/routes/session/index.tsx— the user-message block'sborder={["left"]}(agent accent color) is replaced withpaddingLeft={1}; the fork's in-scrollbox banner box gainspaddingLeft={1}so the banner/tips left edge lines up with the prompt/message blocks' background edge (the removed border glyph used to occupy that aligned column).packages/tui/src/component/prompt/index.tsx— the prompt's two bordered boxes (main box with its╹bottom-left char, plus the height-1╹terminator row) are replaced withpaddingLeft={1}; the now-deadborderHighlightmemo and the unusedtint/SplitBorderimports are removed. Thehighlight/agentMetaAlphamemos stay — they still color the agent name label.The border is removed entirely rather than recolored to the background because background-colored glyphs render oddly on some terminals (e.g. PowerShell).
paddingLeft={1}keeps the same one-column offset, so text alignment with the rest of the transcript is unchanged.DIVERGENCES.md gets a row for the two upstream files.
Verification
bun typecheckpasses inpackages/tui; no tests assert the border glyph.┃/╹glyphs in the pane capture, indentation unchanged, and the banner, Tip, and input box share the same left edge.🤖 Generated with Claude Code