Right click to copy also pastes the content into the input area
オープン
まだ誰も着手していません。
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
- Highlight text in the terminal
- Right click to copy
- 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず GitHub Copilot CLI 1.0.71-1 でこれを再現します。ターミナルテキストを選択し、右クリックしてコピーします。次に、ターミナル入力と貼り付けの処理を追跡し、右クリックでのコピーによって、選択中または以前に選択した内容がプロンプト入力に挿入されなくなっていることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 65/100