Copying text clears the screen on certain codepages
オープン
まだ誰も着手していません。
area:platform-windows
area:terminal-rendering
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Describe the bug
When copying selected text on Windows, the screen appears to reset or clear unexpectedly. This happens on my machine with codepage 936 but not when it is 437
Affected version
1.0.79-5
Steps to reproduce the behavior
- Change the default code page on Windows: Region -> Administrative -> Change system locale -> Chinese (Simplified, Mainland China)
- Launch Copilot CLI in a terminal
- Select and copy something
Expected behavior
The screen shouldn't be cleared
Additional context
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ソースファイルもテストも指定されていません。まず Windows のコードページ 936 でコピー操作を再現し、コードページ 437 と比較してから、CLI の端末選択とコピー処理を特定してください。報告されたロケールで選択したテキストをコピーしても画面が消去またはリセットされなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cli, operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100