in reply to Re^2: Capture a non-printable char and test what it is
in thread Capture a non-printable char and test what it is
"How does \e represent the escape key? Where do you find that?"
If you'd bothered to run the short piece of code ++haukex provided, and pressed the escape key, you would have seen:
Press a key $VAR1 = "\e"; Escape pressed
Had you pressed the enter key:
Press a key $VAR1 = "\n";
I suggest you also read ++haj's post for additional information and alternative methods to use.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Capture a non-printable char and test what it is
by almsdealer (Acolyte) on May 22, 2022 at 17:13 UTC |