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