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 摘要。