Pasting text broken in 1.0.10 version
Description
Description Hi opencode contributors. i was testing one custom /command with argument. But pasting is broken. Nothing shows when pasting and it is not a simple display issue :/
OpenCode version 1.0.10
Steps to reproduce Simply try to paste any yanked text to the chat
OpenCode version
1.0.10
Steps to reproduce
Try to paste text
Screenshot and/or share link
No response
Operating System
Linux Mint 22.1
Terminal
Alacritty 0.16.0-dev
This issue might be a duplicate of existing issues. Please check:
- #3532: Describes pasted text showing as "[pasted #2 1+ lines]" instead of proper inline pasting - while not identical to your "nothing shows when pasting" issue, both are clipboard/pasting-related bugs that may have the same underlying cause
Feel free to ignore if none of these address your specific case.
This issue might be a duplicate of existing issues. Please check:
- Pasted text from a clipboard is shown as "[pasted #2 1+ lines]" instead of inline pasting #3532: Describes pasted text showing as "[pasted Roadmap & Existing Issues #2 1+ lines]" instead of proper inline pasting - while not identical to your "nothing shows when pasting" issue, both are clipboard/pasting-related bugs that may have the same underlying cause
Feel free to ignore if none of these address your specific case.
Don't think so, just nothing is pasted 🙁
i'm not able to reproduce this at all - you're using the same keybinding you'd use to paste stuff into your shell?
Yes I do. Just Ctrl+c and Ctrl+v in the chat. Nothing fancy. I noticed that, I have no such problem when downgraded to the last 0.x version before 1.x latest one
Found out that simple Ctrl+c & Ctrl+v was working as it is until version 0.15.31.
Just approach similar goal with Shift + Insert in version 1.0.13
But this 1.0.13 version don't always make me able to launch any command. For the moment I keep scotched to the 0.15.31 and will observe next new version 🙏🏾
does ctrl+shift+v work?
fyi I had the same issue reported in #3908 . I am on mac os using iterm2. Happy to help debug.
in version 0.15.31: everything is good
in version 1.0.21 : can 't do anything. Strange character print without my intervention after trying a slash command
Gave it a try since v1.0.55 and now v.1.0.65. I can say it works now for me but with Shift + Insert to paste instead of Ctrl + V for version v0.15.31