Skip to content

shift+Enter is submitting the response after pasting something insted of NewLine #10877

Closed

Description

@Priyabhunia

Description

why cant I make a new line with shift+Enter after pasting something in opencode(otherwise the shift+enter works perfectly )

Plugins

No response

OpenCode version

1.1.11

Steps to reproduce

paste something in the opencode input box
and then try to make new line

Screenshot and/or share link

No response

Operating System

windows11

Terminal

windows terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 27, 2026
  2. github-actions commented on Jan 27, 2026

    @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.

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  3. kommander commented on Jan 27, 2026

    @kommander
    Contributor

    That is indeed odd. I cannot reproduce that on other platforms like macos/linux. Maybe @Hona has an idea.

  4. Hona commented on Jan 27, 2026

    @Hona
    Member

    Yeah it's something I want to make work easier OOTB with some windows magic.

    For now you have to configure windows terminal settings to emit the correct escape codes.. see my gist here: https://gist.github.com/Hona/7e4d5467b14a52fa428706b6dc7f0895

    (hint - ask opencode to apply it to your windows terminal settings file!)

  5. Priyabhunia commented on Jan 27, 2026

    @Priyabhunia
    Author

    Yeah it's something I want to make work easier OOTB with some windows magic.

    For now you have to configure windows terminal settings to emit the correct escape codes.. see my gist here: https://gist.github.com/Hona/7e4d5467b14a52fa428706b6dc7f0895

    (hint - ask opencode to apply it to your windows terminal settings file!)

    this is not that big deal but #10403 this is

  6. Hona commented on Jan 27, 2026

    @Hona
    Member

    Yup - fix coming for that in a couple weeks. Its an issue with Bun that I have a PR to fix

  7. neavo commented on Jan 28, 2026

    @neavo
    Contributor

    Yup - fix coming for that in a couple weeks. Its an issue with Bun that I have a PR to fix没错 - 几周内会修复这个问题。这是 Bun 的一个问题,我已经提交了 PR 来修复

    A side qustion: Is there a way to achieve line breaks with Enter, and send messages with Ctrl+Enter or Shift+Enter in the Windows terminal?

  8. Hona commented on Jan 28, 2026

    @Hona
    Member
  9. github-actions commented on Mar 30, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 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

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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions