-
Notifications
You must be signed in to change notification settings - Fork 629
Description
Describe the bug
Ctrl+d instantly closes copilot, whatever the status is. You could have typed anything, like "What does th|si code do" with the cursor at |, press Ctrl+d, and copilot just closes.
Yes, Ctrl+d is often used to logout of a terminal, but only when input is empty. Never in the middle of a sentence.
Generally in terminals, Ctrl+d is delete forward a character, so if you want to correct a spelling mistake, press Ctrl+d in the middle of the sentence to remove the character, it just closes.
This is incredibly aggravating behaviour, as it just throws away all built up context so far -- which you generally build up over time, and it's just gone.
This could also point to a bigger issue where Copilot does not seem to follow my normal terminal conventions: i.e. in both PowerShell and WSL Arch Linux, Ctrl+d just does what I expect it to do. Same for Alt+backspace for example. Copilot seems to ignore all of this.
Affected version
0.0.365
Steps to reproduce the behavior
- Type anything
- Be anywhere with the cursor in the anything you typed
- Press
Ctrl+d - Copilot closes instantly
Expected behavior
In the middle of a sentence: delete forward a character
At the end of anything typed: nothing
When there is nothing typed: close Copilot, but maybe ask for confirmation if any context is built up
Additional context
No response