opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Fix symmetric padding in TUI input field

Open opencode-agent[bot] opened this issue 1 week ago • 0 comments

Fixed. The change was straightforward:

File: packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx:752

Change: paddingRight={1}paddingRight={2}

This makes the horizontal padding symmetric (2 on both left and right sides), so the cursor and text won't touch the right edge of the input box anymore.

Closes #6890

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

opencode-agent[bot] avatar Jan 05 '26 01:01 opencode-agent[bot]