-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
wontfixthis won't be worked on, feel free to contributethis won't be worked on, feel free to contribute
Description
Pressing the ESC key on posix systems will not be returned by readkey().
This is expected as it, as the name implies, escapes the next char. It is used to mark longer sequence of multiple keys. readchar can't know the difference if it stems from a single press of ESC or if it is the beginning of a longer sequence.
Use readchar() instead, which correctly returnes every charater seperatly (but you have to handle multiple char-keys yourself, ARROWS, etc..)
Metadata
Metadata
Assignees
Labels
wontfixthis won't be worked on, feel free to contributethis won't be worked on, feel free to contribute