Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

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

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

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

@Olusammytee Olusammytee commented Feb 22, 2026

Linked Issue\nCloses Kilo-Org/kilocode#6309\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.

@kilo-code-bot
Copy link
Contributor

kilo-code-bot 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
Author

Updated the PR description to include an explicit linked issue reference: Closes Kilo-Org/kilocode#6309.

@Olusammytee
Copy link
Author

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

@markijbema markijbema closed this Feb 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants