Method DecodeEscSeq
DecodeEscSeq(EscSeqRequests, ref ConsoleKeyInfo, ref ConsoleKey, ConsoleKeyInfo[], ref ConsoleModifiers, out string, out string, out string[], out string, out bool, out List<MouseFlags>, out Point, out bool, Action<MouseFlags, Point>)
Decodes an ANSI escape sequence.
public static void DecodeEscSeq(EscSeqRequests escSeqRequests, ref ConsoleKeyInfo newConsoleKeyInfo, ref ConsoleKey key, ConsoleKeyInfo[] cki, ref ConsoleModifiers mod, out string c1Control, out string code, out string[] values, out string terminator, out bool isMouse, out List<MouseFlags> buttonState, out Point pos, out bool isResponse, Action<MouseFlags, Point> continuousButtonPressedHandler)
Parameters
escSeqRequests
EscSeqRequestsThe EscSeqRequests which may contain a request.
newConsoleKeyInfo
ConsoleKeyInfoThe ConsoleKeyInfo which may change.
key
ConsoleKeyThe ConsoleKey which may change.
cki
ConsoleKeyInfo[]The ConsoleKeyInfo array.
mod
ConsoleModifiersThe ConsoleModifiers which may change.
c1Control
stringThe control returned by the GetC1ControlChar(in char) method.
code
stringThe code returned by the GetEscapeResult(char[]) method.
values
string[]The values returned by the GetEscapeResult(char[]) method.
terminator
stringThe terminator returned by the GetEscapeResult(char[]) method.
isMouse
boolIndicates if the escape sequence is a mouse event.
buttonState
List<MouseFlags>The MouseFlags button state.
pos
PointThe MouseFlags position.
isResponse
boolIndicates if the escape sequence is a response to a request.
continuousButtonPressedHandler
Action<MouseFlags, Point>The handler that will process the event.