in reply to Re: Any event modules that support STDIN polling for Windows?
in thread Any event modules that support STDIN polling for Windows?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Any event modules that support STDIN polling for Windows?
by BrowserUk (Patriarch) on Aug 30, 2010 at 11:53 UTC | |
by KHLeow (Novice) on Aug 30, 2010 at 18:37 UTC | |
by BrowserUk (Patriarch) on Aug 30, 2010 at 18:51 UTC | |
by BrowserUk (Patriarch) on Sep 08, 2010 at 09:36 UTC |