Method MapKeyModifiers
MapKeyModifiers(ConsoleKeyInfo, Key)
Maps a ConsoleKeyInfo to a Key.
public static Key MapKeyModifiers(ConsoleKeyInfo keyInfo, Key key)
Parameters
keyInfoConsoleKeyInfoThe console key info.
keyKeyThe key.
Returns
- Key
The Key with ConsoleModifiers or the
key