github / github/copilot-cli

Copilot CLI interactive mode turns blank after submitting a prompt in Windows Terminal, while -p mode works

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

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

area:platform-windows area:terminal-rendering
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the bug
Summary

In interactive mode, GitHub Copilot CLI renders normally at first, but after I submit a prompt the UI goes blank and no further output is visible.

This happens even with very short prompts that should return only a single sentence.

Non-interactive prompt mode with -p works normally, so the issue appears to be specific to the interactive terminal UI.

Environment
  • GitHub Copilot CLI version: 1.0.71
  • OS: Windows
  • Terminal: Windows Terminal
  • GitHub product version: latest
Affected version

GitHub Copilot CLI 1.0.71.

Steps to reproduce the behavior
  1. Open Windows Terminal.
  2. Start Copilot CLI: copilot
  3. Enter any prompt, including a short prompt such as: Reply with one short sentence only.
  4. Observe that Thinking appears briefly.
  5. The terminal UI then goes blank.
Expected behavior

After submitting a prompt in interactive mode, Copilot CLI should continue showing Thinking and then render the response in the terminal.

What actually happened
  • Copilot CLI starts and renders normally.
  • I enter a prompt.
  • It shows Thinking.
  • Then the screen turns blank.
  • After the blank screen appears, I do not see the response or UI content anymore.

This also happens with very short prompts, including prompts that should only produce a one-sentence response.

Additional context

I tried the following and still saw the same blank-screen behavior in interactive mode:

  • Pressed Ctrl + L
  • Pressed ?
  • Entered /help
  • Tried very short prompts with minimal output
  • Tried --screen-reader mode: copilot --screen-reader
    --screen-reader mode shows the same issue.

What does work

Non-interactive mode works correctly:

copilot -p "Say hello"

This returns output normally.

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

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

はじめの一歩

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

調査の方向性

まず、短いプロンプトを使って Windows Terminal で copilot により問題を再現し、次にインタラクティブモードと copilot -p "Say hello" および copilot --screen-reader を比較します。インタラクティブモードで引き続き Thinking が表示され、空白になる代わりに応答がレンダリングされ、非インタラクティブモードも引き続き動作すれば、修正は完了です。

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

評価

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

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

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