Skip to content

$EDITOR keystrokes/redraw lag #4586

Closed
anomalyco/opentui
#331

Description

@svens

Description

When invoking $EDITOR with "ctrl-x e", editor has significant lag between keystroke and character draw. Often keystrokes are completely ignored.

Tried under MacOS and Linux with vim, vim without plugins, nano -- all have same issue.

First saw issue with 1.0.80, did not notice with earlier installed version (1.0.75), did not try other versions between 1.0.76..1.0.80

OpenCode version

1.0.85

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

iTerm2 / TERM=xterm-256color

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 21, 2025
  2. gkapfham commented on Nov 21, 2025

    @gkapfham

    Hi, I can confirm that I see this bug on NixOS in Kitty terminal windows with Neovim as the text editor. I can also confirm that this happens with the most recently release mentioned in the issue but does not occur with prior versions. I happened to switch to OpenCode 1.0.64 and did not notice any lag in the Neovim text editor, although it is very noticeable in OpenCode 1.0.85. Thanks for all of your work on OpenCode, it is really awesome!

  3. fnumatic commented on Nov 21, 2025

    @fnumatic

    might be a duplicate of existing issue #4209

  4. bowmanjd commented on Nov 21, 2025

    @bowmanjd

    If fixing it in opentui makes sense, then great, but I did create #4595 in case it just makes the most sense to escape raw input mode during the editor session.

  5. rekram1-node commented on Nov 21, 2025

    @rekram1-node
    Contributor

    I think I will close in favor of #4209 I think they are heavily related

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