[Bug] Right padding missing in input field in TUI #4200

Closed
opened 2026-02-16 17:43:00 -05:00 by yindo · 2 comments
Owner

Originally created by @cravenceiling on GitHub (Jan 4, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @cravenceiling on GitHub (Jan 4, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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 <img width="1360" height="725" alt="Image" src="https://github.com/user-attachments/assets/1b27af34-77a3-469f-b786-f4b301282ee5" /> ### Operating System Arch Linux (btw) ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:43:00 -05:00
yindo closed this issue 2026-02-16 17:43:00 -05:00
Author
Owner

@rekram1-node commented on GitHub (Jan 4, 2026):

/oc can u fix this please

@rekram1-node commented on GitHub (Jan 4, 2026): /oc can u fix this please
Author
Owner

@opencode-agent[bot] commented on GitHub (Jan 4, 2026):

Created PR #6894

New%20session%20-%202026-01-05T01%3A42%3A55.578Z
opencode session  |  github run

@opencode-agent[bot] commented on GitHub (Jan 4, 2026): Created PR #6894 <a href="https://opencode.ai/s/jEz1tOvs"><img width="200" alt="New%20session%20-%202026-01-05T01%3A42%3A55.578Z" src="https://social-cards.sst.dev/opencode-share/TmV3IHNlc3Npb24gLSAyMDI2LTAxLTA1VDAxOjQyOjU1LjU3OFo=.png?model=opencode/claude-opus-4-5&version=1.1.1&id=jEz1tOvs" /></a> [opencode session](https://opencode.ai/s/jEz1tOvs)&nbsp;&nbsp;|&nbsp;&nbsp;[github run](/anomalyco/opencode/actions/runs/20702616378)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4200