opentui: Multi-line paste with Ctrl+Shift+V is pasted as single line #2255

Closed
opened 2026-02-16 17:34:51 -05:00 by yindo · 5 comments
Owner

Originally created by @veracioux on GitHub (Oct 23, 2025).

Originally assigned to: @thdxr on GitHub.

Description

Title is self-explanatory.

Note also that Ctrl+V doesn't work, but from the code it looks like it's not implemented at all.

OpenCode version

No response

Steps to reproduce

  1. Copy this text
1
2
3
4
  1. Paste into opencode @ opentui branch

Screenshot and/or share link

Image

Operating System

uname -mprs: Linux 6.17.1-arch1-1 x86_64 unknown

Terminal

alacritty, ghostty, kitty, vscode terminal

Originally created by @veracioux on GitHub (Oct 23, 2025). Originally assigned to: @thdxr on GitHub. ### Description Title is self-explanatory. Note also that Ctrl+V doesn't work, but from the code it looks like it's not implemented at all. ### OpenCode version _No response_ ### Steps to reproduce 1. Copy this text ``` 1 2 3 4 ``` 2. Paste into opencode @ opentui branch ### Screenshot and/or share link <img width="912" height="139" alt="Image" src="https://github.com/user-attachments/assets/319cda93-0781-4c78-a600-19b6331ae4d1" /> ### Operating System uname -mprs: Linux 6.17.1-arch1-1 x86_64 unknown ### Terminal alacritty, ghostty, kitty, vscode terminal
yindo added the opentuibug labels 2026-02-16 17:34:51 -05:00
yindo closed this issue 2026-02-16 17:34:51 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 23, 2025):

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

  • #3343: Cannot paste multiple lines in Windows Terminal and VSCode+Powershell - describes similar multi-line paste issues where lines are handled individually instead of as a block
  • #3216: [bug] Paste doesn't work properly in windows - closed issue about general paste functionality problems on Windows
  • #3175: Have no ability to enter a new line - closed issue about keyboard shortcuts for newlines not working
  • #3193: Multiline editing - closed issue specifically requesting SHIFT+ENTER support for multiline input, mentions copy/paste as workaround

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

@github-actions[bot] commented on GitHub (Oct 23, 2025): This issue might be a duplicate of existing issues. Please check: - #3343: Cannot paste multiple lines in Windows Terminal and VSCode+Powershell - describes similar multi-line paste issues where lines are handled individually instead of as a block - #3216: [bug] Paste doesn't work properly in windows - closed issue about general paste functionality problems on Windows - #3175: Have no ability to enter a new line - closed issue about keyboard shortcuts for newlines not working - #3193: Multiline editing - closed issue specifically requesting SHIFT+ENTER support for multiline input, mentions copy/paste as workaround Feel free to ignore if none of these address your specific case.
Author
Owner

@thdxr commented on GitHub (Nov 5, 2025):

hm this does work for me it seems the bracketed paste is losing the newlines somewhere

@thdxr commented on GitHub (Nov 5, 2025): hm this does work for me it seems the bracketed paste is losing the newlines somewhere
Author
Owner

@veracioux commented on GitHub (Nov 5, 2025):

Can't reproduce anymore. I think bracketed paste wasn't implemented when I opened the issue.

@veracioux commented on GitHub (Nov 5, 2025): Can't reproduce anymore. I think bracketed paste wasn't implemented when I opened the issue.
Author
Owner

@tgrushka commented on GitHub (Jan 16, 2026):

Now Command+Shift+Paste is not working at all on dev branch. I think this issue needs to be reopened. Instead of pasting from the global clipboard, but only from the local terminal clipoard, so cannot paste from another app.

uname -mprs: Darwin 25.2.0 arm64 arm

@tgrushka commented on GitHub (Jan 16, 2026): Now Command+Shift+Paste is not working at all on dev branch. I think this issue needs to be reopened. Instead of pasting from the global clipboard, but only from the local terminal clipoard, so cannot paste from another app. `uname -mprs: Darwin 25.2.0 arm64 arm`
Author
Owner

@Innomen commented on GitHub (Jan 18, 2026):

FWIW i can't controlv either, only control shift v.

@Innomen commented on GitHub (Jan 18, 2026): FWIW i can't controlv either, only control shift v.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2255