Skip to content

Pasting text in WezTerm on X11 Ubuntu always results in [Pasted ~X lines] #5687

Closed

Description

@panta82

Question

I'm not sure if this is a bug or feature request, but when I paste some text in Ubuntu X11 WezTerm, I get this:

Image

As far as I can tell, there is no way I can just input normal text, that I can see and edit. Tried different key combos, and tried paste into a different program then in terminal - didn't help. This makes the TUI app pretty much unusable for me.

Is this the intended behavior or a bug?

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 17, 2025
  2. github-actions commented on Dec 17, 2025

    @github-actions
    Contributor

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

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

  3. rekram1-node commented on Dec 17, 2025

    @rekram1-node
    Contributor

    This is intended behavior, you can disable it tho lemme find the config

  4. rekram1-node commented on Dec 17, 2025

    @rekram1-node
    Contributor

    in your opencode.json set:

    {“experimental”:{“disable_paste_summary”: true}}

    i typed this on phone so the quotes are probably invalid but you get the idea

  5. justfortheloveof commented on Dec 17, 2025

    @justfortheloveof
    Contributor

    Alternatively, you can edit your prompt in your editor (leader + e or check the "Open editor" command in the commands palette)

  6. panta82 commented on Dec 18, 2025

    @panta82
    ContributorAuthor

    @rekram1-node , @justfortheloveof thanks! Both of these help.

    "disable_paste_summary" has a bit of a bug where it doesn't resize paste box to account for larger text, but it's workable.
    And opening a text editor is def a workflow I should use more for ambitious prompts.

  7. kommander commented on Dec 18, 2025

    @kommander
    Contributor

    Does the Textarea resize after pasting, when moving the cursor? I'll get that fixed.

  8. panta82 commented on Dec 20, 2025

    @panta82
    ContributorAuthor

    No, it only resizes after editing the prompt

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

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions