On Wed Oct 2 12:22:02 2024 +0000, Piotr Caban wrote:
I don't know the details here (so ignore my comment if it doesn't make sense) but we had to switch to `VerifyConsoleIoHandle()` to properly detect console in msvcrt.
I don't know the details of that fix but note that with this patch we still fall back to ReadFile() if ReadConsoleW() fails, e.g. because stdin was redirected.