Synchronously reads Key from STDIN.
The escape key detection delay. The default value is -1, this means that the function always waits for two \x1b characters from STDIN.
Key structure
See Implementation
Synchronously reads Key from STDIN.