github / github/copilot-cli

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

Aperta
#4,159 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub
area:platform-windows area:terminal-rendering
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema con `copilot` in Windows Terminal usando un prompt breve, quindi confronta la modalità interattiva con `copilot -p "Say hello"` e `copilot --screen-reader`. La correzione è completa quando la modalità interattiva continua a mostrare Thinking e visualizza la risposta invece di diventare vuota, mentre la modalità non interattiva continua a funzionare.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.