Skip to content

Copy to clipboard does not copy previously pasted lines properly. #13878

@vee1e

Description

@vee1e

Description

When attempting to copy text that has multiple lines already pasted, the text copies the literal (Pasted ~X lines) text instead of what the lines actually signifies.

Plugins

None

OpenCode version

1.2.0

Steps to reproduce

  1. Paste a multiline text in the input box
  2. Click and drag to copy text
  3. Paste the copied text in a separate text editor

Screenshot and/or share link

Image

Step 3 reproduced in Neovim.

Operating System

MacOS Tahoe

Terminal

Ghostty

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