Class CsiKeyPattern | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Detects ansi escape sequences in strings that have been read from the terminal (see IAnsiResponseParser). This pattern handles keys that begin Esc[ e.g. Esc[A - cursor up

public class CsiKeyPattern : AnsiKeyboardParserPattern

Inheritance

CsiKeyPattern

Inherited Members

Constructors

CsiKeyPattern()

Creates a new instance of the CsiKeyPattern class.

Methods

GetKeyImpl(string?)

Called by the base class to determine the key that matches the input.

IsMatch(string?)

Returns true if input is one of the terminal sequences recognised by this class.