Paste bug #2338

Closed
opened 2026-02-16 17:35:12 -05:00 by yindo · 2 comments
Owner

Originally created by @ghost on GitHub (Oct 29, 2025).

Description

so on linux , if you paste something its the [ with pasted #1 1+ lines]

on windows its gonna paste and press enter every , damn, line

OpenCode version

newest (look image(

Steps to reproduce

fix the bug (i think its with windows terminal or its a bug with your software

Screenshot and/or share link

the image

Image

Operating System

Windows 11 , Ubuntu with terminal

Terminal

Windows terminal , both

Originally created by @ghost on GitHub (Oct 29, 2025). ### Description so on linux , if you paste something its the [ with pasted #1 1+ lines] on windows its gonna paste and press enter every , damn, line ### OpenCode version newest (look image( ### Steps to reproduce fix the bug (i think its with windows terminal or its a bug with your software ### Screenshot and/or share link the image <img width="184" height="19" alt="Image" src="https://github.com/user-attachments/assets/40d5e6f8-921f-4e28-8613-9e68c1eb04b1" /> ### Operating System Windows 11 , Ubuntu with terminal ### Terminal Windows terminal , both
yindo added the bug label 2026-02-16 17:35:12 -05:00
yindo closed this issue 2026-02-16 17:35:12 -05:00
Author
Owner

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

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

  • #3532: Very similar issue where pasted text shows as "[pasted #2 1+ lines]" instead of inline pasting, affecting the same paste functionality
  • #3343: Windows Terminal paste issues where multi-line snippets queue individual messages and circumvent the paste hook, particularly affecting Windows Terminal and VSCode+PowerShell
  • #3397: Multi-line paste issues in opentui branch where pasted content doesn't behave correctly

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

@github-actions[bot] commented on GitHub (Oct 29, 2025): This issue might be a duplicate of existing issues. Please check: - #3532: Very similar issue where pasted text shows as "[pasted #2 1+ lines]" instead of inline pasting, affecting the same paste functionality - #3343: Windows Terminal paste issues where multi-line snippets queue individual messages and circumvent the paste hook, particularly affecting Windows Terminal and VSCode+PowerShell - #3397: Multi-line paste issues in opentui branch where pasted content doesn't behave correctly Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 29, 2025):

We are in the middle of a rewrite of the tui that should be shipping very soon, it should fix this issue.

@rekram1-node commented on GitHub (Oct 29, 2025): We are in the middle of a rewrite of the tui that should be shipping very soon, it should fix this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2338