use Term::ReadKey; #ctrl-c will exit out ReadMode 'cbreak'; while (1) { my $key = ReadKey(0); print "$key\n"; } ReadMode 'normal';
In reply to Re: Detecting Keystrokes in Windows
by ercparker
in thread Detecting Keystrokes in Windows
by Raffles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |