Copilot CLI interactive mode turns blank after submitting a prompt in Windows Terminal, while -p mode works
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
### 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire le problème avec `copilot` dans Windows Terminal à l’aide d’une invite courte, puis comparez le mode interactif avec `copilot -p "Say hello"` et `copilot --screen-reader`. Le correctif est terminé lorsque le mode interactif continue d’afficher Thinking et rend la réponse au lieu de devenir vide, tandis que le mode non interactif continue de fonctionner.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 52/100