Method GetConsoleInputKey
GetConsoleInputKey(ConsoleKeyInfo)
Ensures a console key is mapped to one that works correctly with ANSI escape sequences.
public static ConsoleKeyInfo GetConsoleInputKey(ConsoleKeyInfo consoleKeyInfo)
Parameters
consoleKeyInfo
ConsoleKeyInfoThe ConsoleKeyInfo.
Returns
- ConsoleKeyInfo
The ConsoleKeyInfo modified.