Currently, Console does not provide a way to read key synchronously. Something similar to C#'s Console.ReadKey will be helpful.
Keyboard class provides only asynchronous way to read keys, and ConsoleAdapter.readByte method does not handle escape sequences.
Currently,
Consoledoes not provide a way to read key synchronously. Something similar to C#'s Console.ReadKey will be helpful.Keyboardclass provides only asynchronous way to read keys, andConsoleAdapter.readBytemethod does not handle escape sequences.