Skip to content

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

Closed

Description

@debashishc

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

Activity

  1. rekram1-node commented on Oct 19, 2025

    @rekram1-node
    Contributor

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

  2. mlanza commented on Dec 1, 2025

    @mlanza

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

  3. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 1, 2025
  4. kommander commented on Dec 20, 2025

    @kommander
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions