Repository navigation
fix(tui): left-align question/answer pairs in log - #214
Merged
Merged
Conversation
User questions were right-aligned with a trailing border pipe, leaving a large gap before the left-aligned answer and a stray hairline rule between a question and its own reply. Render questions with the same "> " prompt gutter the active composer uses, and treat a question immediately followed by its answer as one entry so no rule/gap splits them.
mohitranka
added a commit
that referenced
this pull request
Aug 21, 2026
User questions were right-aligned with a trailing border pipe, leaving a large gap before the left-aligned answer and a stray hairline rule between a question and its own reply. Render questions with the same "> " prompt gutter the active composer uses, and treat a question immediately followed by its answer as one entry so no rule/gap splits them.
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
User questions were right-aligned with a trailing border pipe, leaving a large gap before the left-aligned answer and a stray hairline rule between a question and its own reply. Render questions with the same "> " prompt gutter the active composer uses, and treat a question immediately followed by its answer as one entry so no rule/gap splits them.
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
User questions were right-aligned with a trailing border pipe, leaving a large gap before the left-aligned answer and a stray hairline rule between a question and its own reply. Render questions with the same "> " prompt gutter the active composer uses, and treat a question immediately followed by its answer as one entry so no rule/gap splits them.
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.
Summary
>prompt gutter the active composer already uses (ACTIVE_GLYPH+theme::user_gutter_active_style_for), so a submitted question visually matches the prompt it was typed into.Test plan
cargo fmt --all -- --checkcargo test --package forge-tui --lib(716 passed, including wrapped-question alignment coverage)git diff --check