github / github/copilot-cli

"Copied to clipboard" notification is misleading when selecting text without Shift key

未关闭
#4,010 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:input-keyboard
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

Environment:

• OS: macOS 26.5.2 (Build 25F84)
• Terminal: Ghostty 1.3.1
• Copilot CLI version: 1.0.68

When I select text with mouse, I get message "Copied to clipboard" however, when right click to pate, it states again "Copied to clipboard", the 2nd right click pastes instead of the first.

Workaround: Use Shift + select to copy text reliably.

### Affected version

GitHub Copilot CLI 1.0.68.

### Steps to reproduce the behavior

1. Mark text with mouse
2. Right-click

### Expected behavior

Text is pasted

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

在 macOS 26.5.2 上使用 Ghostty 1.3.1,通过 GitHub Copilot CLI 1.0.68 重现该行为:使用鼠标选择文本,然后右键单击一次。跟踪从该交互开始的选择和剪贴板处理;完成标准是第一次右键单击会粘贴所选文本,而不是再次显示 "Copied to clipboard" 通知。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
50/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。