Pasting text in WezTerm on X11 Ubuntu always results in [Pasted ~X lines]
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:
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?
This issue might be a duplicate of existing issues. Please check:
- #3081: I can't paste text with CTRL+V or right mouse click when running inside WSL (similar paste input issue)
- #3728: Pasting text broken in 1.0.10 version (paste functionality broken in terminal)
- #1265: Text pasted in previous sessions is replaced by [pasted ... lines] placeholders (related to pasted content display)
- #4754: Copy and Paste behaviour under Linux (Linux-specific copy/paste issues)
Feel free to ignore if none of these address your specific case.
This is intended behavior, you can disable it tho lemme find the config
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
Alternatively, you can edit your prompt in your editor (leader + e or check the "Open editor" command in the commands palette)
@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.
Does the Textarea resize after pasting, when moving the cursor? I'll get that fixed.
No, it only resizes after editing the prompt