-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Describe the bug
While working with Copilot CLI in Windows Terminal from a PowerShell v7.5.4 session I experienced a screen flashing effect (Just the terminal window) with some copilot artifacts appearing on the screen with each flash. It is also filling up my terminal buffer with a complete copy of the Copilot session with each flash.
The flashing coincided with the cursor blink but was only happening when I was being asked to accept a tool use or other question and I selected the No, and tell Copilot what to do differently option because that is when the cursor appeared for me to supply input. If I used the arrow keys to move up to either Yes option, the flashing stopped.
The console input became very sluggish and non-responsive to actions such as typing or backspace to delete characters of my response input
Affected version
GitHub Copilot CLI 0.0.399.
Steps to reproduce the behavior
- Open Windows Terminal in a PowerShell v7.5.4 (Might be happening on other versions this is what I have installed)
- Change to a test directory, Open Copilot and accept the access request
- At the prompt type
Create me a generic readme.md file for a dotnet c# rest apior anything that would cause copilot to save a file - When prompted to Edit the file, use the arrow keys to move down to the 3rd option
No, and tell Copilot what to do differently (Esc to stop)option and the screen should start to flicker with the cursor blink. - Use the arrow keys to move up to Option 2 or Option 1 and the screen flashing stops as the cursor is not blinking for user input.
Expected behavior
When selecting the No option I expect the screen to not flash with the cursor blink and the user input to be responsive
Additional context
Terminal Emulator - Windows Terminal Version: 1.23.13503.0
Shell - PSVersion 7.5.4
Here are two videos showing the flashing issue and the terminal buffer being filled with each flash.
This video doesn't really capture the flashing/flickering properly, but it gets the point across, I think.
https://1drv.ms/v/c/40ecf7a473fbe994/IQCWF9xiaOV7RKKn1fUB7NU9AQsvhO6DX3OUxaA8nLWp_2s?e=XeD1U0
Here is a video showing that with each flash/flicker the terminal buffer gets filled with what is currently displayed in the terminal
https://1drv.ms/v/c/40ecf7a473fbe994/IQBUbwI_6MUSSpREqUfiivFxAZdVUDwUriZdT4toHGg-2oo?e=haxUpv