Skip to content

Keystrokes typed during TUI startup are silently dropped #20933

Closed as not planned

Description

@JosXa

Description

opencode doesn't buffer input while it starts up. You stare at a blank terminal for several seconds (especially on Windows with lots of plugins), and by the time the UI comes up you've forgotten what you were going to type. Other tools like Pi let you start typing your prompt while the UI is still loading.

--prompt exists but doesn't support multiline input. The expectation is that you can just start typing immediately after running opencode and have everything appear in the prompt once it's ready.

Plugins

No response

OpenCode version

1.3.13

Steps to reproduce

  1. Run opencode
  2. Immediately start typing before the UI renders
  3. Once the prompt appears, none of your input is there

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    perfIndicates a performance issue or need for optimization
    on Apr 3, 2026
  2. github-actions commented on Apr 3, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  3. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    perfIndicates a performance issue or need for optimization
    on May 3, 2026
  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions