[PR #1182] [MERGED] fix: pasting issue #9841

Closed
opened 2026-02-16 18:14:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1182
Author: @rekram1-node
Created: 7/20/2025
Status: Merged
Merged: 7/21/2025
Merged by: @adamdotdevin

Base: devHead: fix/paste-issue


📝 Commits (1)

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 packages/tui/internal/components/chat/messages.go (+5 -1)

📄 Description

I think this should fix: #1181
Also this does not break text selection

hasCompleteSelection() requires a complete recent selection workflow (all four coordinates set by the app's own mouse handlers)

The pasting bug is linked to moving of the mouse

Video proof:

https://github.com/user-attachments/assets/ea9f623f-f9a1-4b2f-ad4a-ead810c0dd11


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1182 **Author:** [@rekram1-node](https://github.com/rekram1-node) **Created:** 7/20/2025 **Status:** ✅ Merged **Merged:** 7/21/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `fix/paste-issue` --- ### 📝 Commits (1) - [`224bb76`](https://github.com/anomalyco/opencode/commit/224bb76dbd4256cabe7605844b6441299fabbf06) fix: pasting issue ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/internal/components/chat/messages.go` (+5 -1) </details> ### 📄 Description I think this should fix: #1181 Also this **does not** break text selection > hasCompleteSelection() requires a complete recent selection workflow (all four coordinates set by the app's own mouse handlers) The pasting bug is linked to moving of the mouse Video proof: https://github.com/user-attachments/assets/ea9f623f-f9a1-4b2f-ad4a-ead810c0dd11 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:15 -05:00
yindo closed this issue 2026-02-16 18:14:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9841