Skip to content

Pasted text from a clipboard is shown as "[pasted #2 1+ lines]" instead of inline pasting #3532

Description

@kha84

Description

Hello, opencode devs! I've just downloaded and started to familiarize myself with opencode and I immediately stumbled across two issues.

  1. One is being discussed here - shift+enter keybinding not working #1505 - is that there's no straightforward way to provide multi-line prompts (Ubuntu 24 LTS, default Gnome terminal), apart from CTRL+j

  2. Another is that when I paste some text snippets while composing a prompt, they're pasted like "[pasted Roadmap & Existing Issues #2 1+ lines]" to prompt (instead of a plaintext), which is very annoying.

One might say to overcome both these issues I can prepare my prompts in an external editor - and yes, that is a workaround. But it spoils the overall experience of using the opencode as one and only tool.

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions