Skip to content

Text paste placeholders break speech-to-text input (accessibility) #1386

Closed

Description

@BernieSumption

Large amounts of text pasted into the window are replaced with a placeholder:

Image

This behaviour may make sense when pasting in code samples, but I am using a speech-to-text engine that transcribes what I say and pastes it into opencode. I now can't edit the content that I have dictated. I've had to switch my transcription tool to simulate individual keystrokes, which takes 10 seconds or so if I've dictated a long prompt.

Can we have a configuration option to always show full pasted text, or a method of expanding the placeholder once it has been inserted? Or perhaps a less sensitive trigger for when to collapse pasted text - speech to text tools tend to type everything on one line, so looking for line breaks rather than length of text would help differentiate a dictated prompt from a code sample or log output.

Thanks for your work on this project: it's great, even with this issue!

Activity

  1. Zio-4 commented on Jul 30, 2025

    @Zio-4

    Probably a separate issue, but piggybacking off of this: Would it be possible to tag files through Speech to text? Wispr Flow recently added the ability to tag files when you're inside Cursor. It would be cool if we could do that in Opencode as well.

    https://docs.wisprflow.ai/articles/4990400095-file-tagging

  2. AshConnolly commented on Aug 5, 2025

    @AshConnolly

    I'd like this too. I often use my clip board history to paste instructions, then modify them, but with this I can't do it.

    Can we have a cmd+shift+v to paste as plain text (same as cursor)

  3. John0x commented on Sep 2, 2025

    @John0x

    @adamdotdevin @thdxr is this something that would be merged when I create a PR for it? Not entirely sure, because of the "Contributing" section in the README and the upcoming TUI updates.

    I thought about adding a setting to disabled the paste abbreviation for text, because I encounter this daily when using voice dictation for prompting.

  4. saleh-mir commented on Sep 4, 2025

    @saleh-mir

    +1

  5. rekram1-node commented on Sep 11, 2025

    @rekram1-node
    Collaborator

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

    {
      // this:
       "experimental": {
        "disable_paste_summary": true,
      },
    }
    
  6. saleh-mir commented on Sep 13, 2025

    @saleh-mir

    Already using it, thank you for implementing this feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions