Table of Contents

Method DecodeEscSeq

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

DecodeEscSeq(EscSeqReqProc, 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 a escape sequence to been processed in the appropriate manner.

public static void DecodeEscSeq(EscSeqReqProc escSeqReqProc, ref ConsoleKeyInfo newConsoleKeyInfo, ref ConsoleKey key, ConsoleKeyInfo[] cki, ref ConsoleModifiers mod, out string c1Control, out string code, out string[] values, out string terminating, out bool isKeyMouse, out List<MouseFlags> buttonState, out Point pos, out bool isReq, Action<MouseFlags, Point> continuousButtonPressedHandler)

Parameters

escSeqReqProc EscSeqReqProc

The EscSeqReqProc which may contain a request.

newConsoleKeyInfo ConsoleKeyInfo

The ConsoleKeyInfo which may changes.

key ConsoleKey

The ConsoleKey which may changes.

cki ConsoleKeyInfo[]

The ConsoleKeyInfo array.

mod ConsoleModifiers

The ConsoleModifiers which may changes.

c1Control string

The control returned by the GetC1ControlChar(char) method.

code string

The code returned by the GetEscapeResult(char[]) method.

values string[]

The values returned by the GetEscapeResult(char[]) method.

terminating string

The terminating returned by the GetEscapeResult(char[]) method.

isKeyMouse bool

Indicates if the escape sequence is a mouse key.

buttonState List<MouseFlags>

The MouseFlags button state.

pos Point

The MouseFlags position.

isReq bool

Indicates if the escape sequence is a response to a request.

continuousButtonPressedHandler Action<MouseFlags, Point>

The handler that will process the event.