github / github/copilot-cli

Right click to copy also pastes the content into the input area

未關閉
#4,126 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard area:terminal-rendering
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

When I select something and right click to copy, the right click also pastes what was copied into the prompt input. What gets pasted may not even be what was selected, it can also be the previous thing that was selected.

### Affected version

GitHub Copilot CLI 1.0.71-1

### Steps to reproduce the behavior

1. Highlight text in the terminal
2. Right click to copy
3. Observe terminal now contains information that was not meant to be pasted

### Expected behavior

When I right click to copy, nothing should get pasted at the same time.

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

首先在 GitHub Copilot CLI 1.0.71-1 中重現此問題:反白終端文字並按右鍵複製。追蹤終端輸入和貼上處理,然後驗證按右鍵複製不再將已選取或先前選取的內容插入提示輸入框。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。