in reply to Getting special keys to work with Term::ReadKey in Windows
Term::ReadKey doesn't return the special keys on Windows at the current time, this is because the underlying API returns 0 for those keys and the windows API expects you to look up the actual key elsewhere. I have a nearly working patch for this that will return the ANSI character sequences for the keys which should be available with the next release, but I'm not making any promises as to when this will be released. You might want to consider using instead Win32::Console which gives you the "virtual key code" for the special keys.
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting special keys to work with Term::ReadKey in Windows
by Ace128 (Hermit) on Jul 21, 2006 at 12:08 UTC |