in reply to Re: Reading all nonblocking keystrokes in Win2000
in thread Reading all nonblocking keystrokes in Win2000
You need to grab the source for the Term::ReadKey module and look at the *.xs file(s), which contain C code. This is almost certainly where you will find Win32Peek().
What I find is Win32PeekChar() which it appears that you can call like:
- tye (but my friends call me "Tye")require Term::ReadKey; my $char= Term::ReadKey::Win32PeekChar(STDIN,-1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Reading all nonblocking keystrokes in Win2000
by Washizu (Scribe) on Nov 19, 2001 at 21:40 UTC | |
by tye (Sage) on Nov 19, 2001 at 21:51 UTC |