Skip to content

Terminal in JetBrains IDE doesn’t work properly (can’t type or paste multiline commands) #3941

Closed as not planned

Description

@icedigitaldev

Description

When using OpenCode inside the built-in terminal of JetBrains IDEs (such as WebStorm, PyCharm, or IntelliJ), typing and pasting do not work correctly.

The terminal often becomes unresponsive, preventing any text input.

When you paste multiple lines, each line executes immediately (as if pressing Enter after each one).

It’s impossible to edit or review commands before sending them.

In the Windows terminal, typing works fine, but there is no easy way to paste and edit long commands without line breaks triggering unintended execution.

It would be very helpful to have an editable mode (like an input buffer) that lets users write, edit, and then execute commands safely from within the IDE terminal.

OpenCode version

1.0.25

Steps to reproduce

  1. Open any JetBrains IDE.

  2. Open the integrated terminal.

  3. Start OpenCode or any related CLI command.

  4. Try typing or pasting multiple lines.

  5. Notice that input is unresponsive or that lines are executed automatically.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 5, 2025
  2. github-actions commented on Nov 5, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  3. self-assigned this
    on Nov 5, 2025
  4. Eisermann commented on Jan 23, 2026

    @Eisermann

    I do not know if this is also related, but I have additional issue with JetBrains. in iterm2 when i click, it moves cursor to this place - so it requries "click" to "click". in jetbrains it is like every move is registered as click. so cursor changes position every time you move mouse (it's like you constantly click in terminal)

  5. johndevs commented on Mar 6, 2026

    @johndevs

    For me changing the terminal engine from the default "Reworked 2025" to "Classic" fixes most issues.

  6. AshotN commented on Mar 12, 2026

    @AshotN

    I do not know if this is also related, but I have additional issue with JetBrains. in iterm2 when i click, it moves cursor to this place - so it requries "click" to "click". in jetbrains it is like every move is registered as click. so cursor changes position every time you move mouse (it's like you constantly click in terminal)

    @Eisermann did you ever figure this problem out?

  7. popuguytheparrot commented on Apr 17, 2026

    @popuguytheparrot

    just typed opencode in terminal not listen shortcuts in webstorm

  8. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  9. 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