[UI Error] cursor floats when terminal is a certain size #2169

Closed
opened 2026-02-16 17:34:29 -05:00 by yindo · 3 comments
Owner

Originally created by @debashishc on GitHub (Oct 18, 2025).

Originally assigned to: @kommander on GitHub.

Description

When the terminal window is resized to certain dimensions, the cursor position is misaligned. It appears to float above the input line instead of inside the text box.

Steps to reproduce

  1. Open any terminal - Cursor, Zed, etc.
  2. Resize the window to a smaller or specific width/height
  3. Observe the cursor position relative to the text box

Screenshot and/or share link

Image Image Image

Operating System

macOS 26.0.1

Terminal

Ghostty

OpenCode version

0.15.7

Originally created by @debashishc on GitHub (Oct 18, 2025). Originally assigned to: @kommander on GitHub. ### Description When the terminal window is resized to certain dimensions, the cursor position is misaligned. It appears to float above the input line instead of inside the text box. ### Steps to reproduce 1. Open any terminal - Cursor, Zed, etc. 2. Resize the window to a smaller or specific width/height 3. Observe the cursor position relative to the text box ### Screenshot and/or share link <img width="1496" height="319" alt="Image" src="https://github.com/user-attachments/assets/851a3d74-21f1-4d3b-a66c-6e92e47190db" /> <img width="1507" height="353" alt="Image" src="https://github.com/user-attachments/assets/db49fbf7-739c-4c3d-84fa-15bba5bc7a35" /> <img width="798" height="453" alt="Image" src="https://github.com/user-attachments/assets/38c9b737-e2dc-42e3-978e-efed3fb29c92" /> ### Operating System macOS 26.0.1 ### Terminal Ghostty ### OpenCode version 0.15.7
yindo added the opentuibug labels 2026-02-16 17:34:29 -05:00
yindo closed this issue 2026-02-16 17:34:29 -05:00
Author
Owner

@rekram1-node commented on GitHub (Oct 19, 2025):

Yeah this should be fixed next week when we ship opencode rewrite

@rekram1-node commented on GitHub (Oct 19, 2025): Yeah this should be fixed next week when we ship opencode rewrite
Author
Owner

@mlanza commented on GitHub (Nov 30, 2025):

I confirm the same in 1.0.123. But I get it later in the session, sometimes, not on the initial screen.

@mlanza commented on GitHub (Nov 30, 2025): I confirm the same in 1.0.123. But I get it later in the session, sometimes, not on the initial screen.
Author
Owner

@kommander commented on GitHub (Dec 20, 2025):

This should not be happening anymore in the latest versions. Please open another issue if it still does.

@kommander commented on GitHub (Dec 20, 2025): This should not be happening anymore in the latest versions. Please open another issue if it still does.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2169