You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Windows console application is running under Cygwin terminal (mintty), it is running with stdio redirection to pipes, and a console window is not created. So, ReadConsoleInput returns error 0x6 ERROR_INVALID_HANDLE in such case.
It is useful if a Forth system is able to work with redirected stdio, regardless Cygwin terminals.
Regarding Bash shell. It can be started from mintty — and ReadConsoleInput will not work in child console applications; or from Windows console (e.g. regular instance of cmd.exe) — and ReadConsoleInput will work in child console applications.
Root cause - call to
ReadConsoleInput
inWIN-CONSOLE-EKEY
fails withBoth Cygwin and Git-Bash (MSYS) consoles are affected.
Seems to be working fine in CMD or WSL console window.
The text was updated successfully, but these errors were encountered: