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