-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception thrown when stopping a stuck git log session with Alt+Pause #3260
Comments
Another comment - the git autocomplete is posh-git |
This is a very strange issue. I cannot reason from the ReadOneOrMoreKeys method about when it would return with an empty You mentioned in the windows terminal issue that you pressed |
Yes, this is the sequence - pressing Alt-Pause to break out and again (for no reason :) ) and getting the error |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
We were looking at this issue again and the hunch we've got is that the Break key (aka Alt+Pause) is "often translated instantly" in contrast to a key like Ctrl+C where the keyboard buffer still receives input. This would explain why we have nothing to dequeue, because while we expected an input to be queued, nothing was. We'll need to look at what .NET is doing for the Break key. |
🎉 This issue was addressed in 3629, which has now been successfully released in |
Prerequisites
Exception report
Exception
Screenshot
Environment data
Steps to reproduce
When recovering from issue reproted in microsoft/terminal#12828, pressed Alt+Pause to break out of stuck state.
Then pressed it again and got this error
Expected behavior
No exception
Actual behavior
Exception
The text was updated successfully, but these errors were encountered: