Clipboard copy broken while Copilot CLI is running (Windows)
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
## Bug Report
### Summary
While the GitHub Copilot CLI app is running, clipboard copy stops working entirely in that process. Selecting text and using right-click copy or Ctrl+C shows a 'copied to clipboard' confirmation, but nothing is actually written to the Windows clipboard — paste returns the previous clipboard content instead.
Clipboard functionality restores immediately upon exiting the CLI with \/exit\.
### Steps to Reproduce
1. Launch GitHub Copilot CLI on Windows
2. Select any text in the session output
3. Right-click → Copy (or Ctrl+C) — shows 'copied to clipboard'
4. Switch to any other app and paste
5. Previous clipboard content is pasted instead of the selected text
Also reproducible via:
\\\powershell
echo 'test' | clip
\\\
Run inside the CLI process — \Get-Clipboard\ reads it back fine within the same process, but the clipboard is not accessible from other applications.
### Expected Behavior
Selected text is copied to the Windows system clipboard and can be pasted in other apps.
### Actual Behavior
'Copied to clipboard' confirmation displays but clipboard is not updated. Previous clipboard content persists.
### Environment
- OS: Windows
- Copilot CLI version: 1.0.66
- RDP (Windows App) was connected at time of discovery but issue persists after disconnecting
### Workaround
Exit the CLI with \/exit\ — clipboard works again immediately in PowerShell.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
コントリビューションガイド
調査の方向性
ファイル、テスト、エントリーポイントのいずれも指定されていません。まず CLI と、提供されている PowerShell のクリップボードコマンドを実行して Windows 上で障害を再現し、その後、CLI がシステムクリップボードとどのようにやり取りしているかを追跡してください。CLI の実行中に、コピーした CLI テキストを他のアプリケーションから利用でき、なおかつドキュメント化された回避策にリグレッションがない状態になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell, shell
- 領域
- cli, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100