opencode
opencode copied to clipboard
[Bug] Right padding missing in input field in TUI
Description
The input field appears to have padding on the left side, but the right side has little to no padding.
As a result, when typing long text, the cursor and characters reach all the way to the right edge of the input box, while the left side maintains visible spacing.
Expected behavior
The input field should have symmetric horizontal padding, so text and the cursor do not touch either edge of the container.
Actual behavior
- Left side: visible padding/margin before text
- Right side: little or no padding
- Cursor reaches the edge of the input box
Plugins
No response
OpenCode version
1.1.1
Steps to reproduce
- Open the application
- Type a long line of text until it reaches the right edge
- See the bug
Screenshot and/or share link
Operating System
Arch Linux (btw)
Terminal
Ghostty