Method GetConsoleKey | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
GetConsoleKey(char, string?, ref ConsoleModifiers, ref char)
Gets the ConsoleKey depending on terminating and value.
public static ConsoleKey GetConsoleKey(char terminator, string? value, ref ConsoleModifiers mod, ref char keyChar)
Parameters
terminator
char
The terminator indicating a reply to CSI_SendDeviceAttributes orCSI_SendDeviceAttributes2.
value
string
The value.
mod
ConsoleModifiers
The ConsoleModifiers which may change.
keyChar
char
Normally is '\0' but on some cases may need other value.
Returns
The ConsoleKey and probably the ConsoleModifiers.