github / github/copilot-cli

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

オープン
#4,010 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:input-keyboard
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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 でこの動作を再現します。マウスでテキストを選択し、右クリックを 1 回行います。その操作から選択とクリップボードの処理を追跡します。完了条件は、最初の右クリックで別の "Copied to clipboard" 通知を表示するのではなく、選択したテキストが貼り付けられることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
50/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。