https://bugs.winehq.org/show_bug.cgi?id=56697
Hales nailer592899230@halestrom.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nailer592899230@halestrom.n | |et
--- Comment #1 from Hales nailer592899230@halestrom.net --- I can reproduce this result. Wine 9.9.
Today I found a similar-but-different scenario where kbhit() is broken. Please see my attached kbhit_test2.c.
Test results across 3 different console environments:
(1) Run directly from my shell in urxvt ("wine xxx.exe") kbhit_test.exe: Works correctly kbhit_test2.exe: Fails to detect any keypresses (bug!)
(2) Run inside of "wine cmd" in urxvt: kbhit_test.exe: Works correctly kbhit_test2.exe: Works correctly
(3) Run inside "wineconsole": kbhit_test.exe: Fails to detect any keypresses (bug!) kbhit_test2.exe: Works correctly
My compiler is i686-w64-mingw32-gcc 12.2.0, a cross compiler run from Linux. I compiled the files using "i686-w64-mingw32-gcc -Wall xxx.c -o xxx.exe