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

Closed
opened 2026-02-16 18:11:51 -05:00 by yindo · 0 comments
Owner

Originally created by @gitRasheed on GitHub (Feb 12, 2026).

Originally assigned to: @adamdotdevin on GitHub.

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

Originally created by @gitRasheed on GitHub (Feb 12, 2026). Originally assigned to: @adamdotdevin on GitHub. ### 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: <img width="402" height="147" alt="Image" src="https://github.com/user-attachments/assets/e243388d-04fa-49d2-8a00-60559791e7dc" /> after ctrl + z: <img width="391" height="148" alt="Image" src="https://github.com/user-attachments/assets/e57b836e-3035-4e5e-8d35-e43794683904" /> ### Operating System Windows 10 ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 18:11:51 -05:00
yindo closed this issue 2026-02-16 18:11:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9190