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