I know it works in a non-blocking fashion if I call
$char = ReadKey(-1);However I'll still have to call that like every 0.5 seconds in callbacks of an event-based timer, so it is not exactly real-time. I can improve its responsiveness to 0.2 seconds maybe but here's hoping there is a more perfect solution.
In reply to Re^2: Any event modules that support STDIN polling for Windows?
by KHLeow
in thread Any event modules that support STDIN polling for Windows?
by KHLeow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |