How to call ReadConsoleInputW using Zig in Windows
ReadConsoleInputW can be used to mimic kbhit() C function found in Borland C/C++.OS: Windows 10 22H2
Zig: 0.12
Compile ReadConsoleInputW.zig:
PS C:\prj> zig build-exe -lc .\ReadConsoleInputW.zig
String of thoughts on science, technology and programming
PS C:\prj> zig build-exe -lc .\ReadConsoleInputW.zig
Comments