Request for an option to disable pasting behavior when the text is a bit long #1689

Closed
opened 2026-02-16 17:32:09 -05:00 by yindo · 2 comments
Owner

Originally created by @saleh-mir on GitHub (Sep 11, 2025).

Hey guys, first of all, I want to thank you, the creators and maintainers of the project. You're making wonderful stuff 🙏❤️

I rely on voice‑to‑text because of wrist injuries. When I paste text into the editor (Either from copying and pasting it from somewhere else or simply when the voice-to-text generation tool I use pastes the text into the prompt section of OpenCode) it automatically formats it with a short text (look at the image), which makes things unusable for me.

I would appreciate it if you could add a config option to disable this.

Image
Originally created by @saleh-mir on GitHub (Sep 11, 2025). Hey guys, first of all, I want to thank you, the creators and maintainers of the project. You're making wonderful stuff 🙏❤️ I rely on voice‑to‑text because of wrist injuries. When I paste text into the editor (Either from copying and pasting it from somewhere else or simply when the voice-to-text generation tool I use pastes the text into the prompt section of OpenCode) it automatically formats it with a short text (look at the image), which makes things unusable for me. I would appreciate it if you could add a config option to disable this. <img width="792" height="482" alt="Image" src="https://github.com/user-attachments/assets/a58af7b8-1ee8-48a3-91eb-c630c08d0d8b" />
yindo closed this issue 2026-02-16 17:32:09 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 11, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2550: Input Box Usability Improvements - discusses similar concerns about the input box behavior and user experience when dealing with text input

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 11, 2025): This issue might be a duplicate of existing issues. Please check: - #2550: Input Box Usability Improvements - discusses similar concerns about the input box behavior and user experience when dealing with text input Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Sep 11, 2025):

will be added in next release, you will be able to add this to your opencode.json:

{
  // this:
   "experimental": {
    "disable_paste_summary": true,
  },
}
@rekram1-node commented on GitHub (Sep 11, 2025): will be added in next release, you will be able to add this to your opencode.json: ``` { // this: "experimental": { "disable_paste_summary": true, }, }
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1689