github / github/copilot-cli

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

オープン
#4,126 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:input-keyboard area:terminal-rendering
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず GitHub Copilot CLI 1.0.71-1 でこれを再現します。ターミナルテキストを選択し、右クリックしてコピーします。次に、ターミナル入力と貼り付けの処理を追跡し、右クリックでのコピーによって、選択中または以前に選択した内容がプロンプト入力に挿入されなくなっていることを確認します。

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

評価

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

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

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