-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Delayed ReadLine after on enter with CMD (outside of Windows Terminal) #61
Comments
I can reproduce this (in the |
This looks like a regression, actually. This used to work. I suspect it's probably related to the whole |
Stepping through the code, Given that this works fine in Windows Terminal, I suspect a console host bug... @xoofx I don't suppose you have a Windows 10 machine available to test on? |
OK, ignore all of the above; my original hunch in #9 (comment) was correct. Now to figure out why |
It appears that the console input buffer either contains slightly different input records than what we see with Windows Terminal, or that the console host processes them differently. Either way, the logic here is not working under the console host: At this point I'm likely to just rip cancellation support out of the Windows driver. The amount of hacks I'm having to pile here to make what should be a simple |
Followup of #9
While trying this program with CMD outside of Windows Terminal:
The input seems to not always work on
ENTER
, sometimes it happens straight, sometimes it happens after the first inputted line. It works fine from the Windows Terminal though.0.5.39
The text was updated successfully, but these errors were encountered: