Skip to content

Comments

fix(tui): keep prompt border continuous in compact terminals#600

Open
Olusammytee wants to merge 2 commits intoKilo-Org:devfrom
Olusammytee:fix/438-prompt-border-continuity-v2
Open

fix(tui): keep prompt border continuous in compact terminals#600
Olusammytee wants to merge 2 commits intoKilo-Org:devfrom
Olusammytee:fix/438-prompt-border-continuity-v2

Conversation

@Olusammytee
Copy link
Contributor

@Olusammytee Olusammytee commented Feb 22, 2026

Linked Issue\nCloses #438\n\n## Summary\n- use a continuous vertical border glyph at the prompt bottom-left corner\n- align the 1-row separator segment with the same border glyph when background elements are enabled\n- prevent the visual split seen in small terminal sizes\n\n## Testing\n- not run (visual TUI rendering fix)

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@kiloconnect
Copy link
Contributor

kiloconnect bot commented Feb 22, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

This PR makes two small cosmetic changes to the TUI prompt component, replacing the half-height vertical box-drawing character (BOX DRAWINGS LIGHT UP) with the full-height (BOX DRAWINGS HEAVY VERTICAL) for consistent border rendering. Both changes are in customBorderChars properties — one for bottomLeft and one for vertical. Clean and straightforward.

Files Reviewed (1 files)
  • packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a visual issue where the vertical border near the input field appears split when the terminal window is resized to smaller heights. The fix ensures the border remains continuous by using the proper Unicode box drawing character throughout the prompt component.

Changes:

  • Changed bottomLeft border character from "╹" to "┃" at the prompt bottom-left corner
  • Changed vertical border character from "╹" to "┃" for the 1-row separator segment when background elements are enabled

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Olusammytee
Copy link
Contributor Author

Updated the PR description to include an explicit linked issue reference: Closes #438.

@Olusammytee
Copy link
Contributor Author

Pushed a small cleanup follow-up: removed temporary inline comments from the two border-glyph lines while keeping behavior unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant