Skip to content

Plain-text paste is not undoable via Ctrl+Z in prompt editor #13350

Description

@gitRasheed

Description

In the desktop app prompt editor, pasted plain-text does not become an undoable edit (Ctrl+Z does not revert it).

Plugins

No response

OpenCode version

v1.1.61

Steps to reproduce

  1. Type text
  2. Paste plain text (Ctrl+V)
  3. Press Ctrl+Z

Actual: Typed input is undone, but the pasted block remains.
Expected: Plain-text paste should be undone atomically as a single edit via Ctrl+Z.

Screenshot and/or share link

before ctrl + z:

Image

after ctrl + z:

Image

Operating System

Windows 10

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

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions