anomalyco / anomalyco/opencode

Pasting a long text in prompt box make Desktop app hang

Open
#38,932 5 comments 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Jul 26, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

Pasting a long text in prompt box make Desktop app hang. When attempting to paste a large amount of text (approximately 5000+ characters) into the prompt box, the Desktop application becomes unresponsive. The app appears to freeze indefinitely and does not recover on its own. The UI stops responding to any input, requiring a force quit and restart of the application.

Plugins

No response

OpenCode version

Latest version (please specify your version here)

Steps to reproduce
  1. Open the OpenCode Desktop application
  2. Navigate to the prompt/chat input box
  3. Copy a large text file or text content (approximately 5000+ characters or more)
  4. Paste the content into the prompt box using Ctrl+V (or Cmd+V on Mac)
  5. Observe that the application becomes unresponsive and freezes
  6. The application does not recover and requires manual restart
Screenshot and/or share link

No response

Operating System

Mac OS 26.5.2 (25F84)

Terminal

Using Desktop app GUI directly (not via terminal) @

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.