opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[Bug] Right padding missing in input field in TUI

Open cravenceiling opened this issue 1 week ago • 2 comments

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

  1. Open the application
  2. Type a long line of text until it reaches the right edge
  3. See the bug

Screenshot and/or share link

Image

Operating System

Arch Linux (btw)

Terminal

Ghostty

cravenceiling avatar Jan 05 '26 01:01 cravenceiling