in reply to Term::ReadKey under win32
I have found that giving ReadKey() a timeout value seems to workaround this behavior. Instead of calling ReadKey(0), call it with an insane value: ReadKey(1000000000), or you can set it to one second and catch the timeout. Then just reissue the func call.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Term::ReadKey under win32
by Anonymous Monk on Jul 03, 2007 at 12:19 UTC |