Represents a CSI (Control Sequence Introducer) sequence, typically of the form ESC [ parameters intermediates final.
[NullableContext((byte)1)]
[Nullable((byte)0)]
public sealed record CsiToken : AnsiToken, IEquatable<AnsiToken>, IEquatable<CsiToken>
Examples:
ESC [ 31 m (SGR red foreground)ESC [ ? 25 l (hide cursor)kind:method, kind:property, kind:ctor. Press Esc to clear.FinalFinal byte (0x40–0x7E) identifying the command.IntermediatesIntermediate bytes (0x20–0x2F) captured as a string.RawOptional raw sequence as encountered.TryGetKeyEvent(CsiToken, out AnsiKeyEvent)Attempts to interpret a CSI token as a key event (Windows Console VT / xterm conventions).TryGetSgrMouseEvent(CsiToken, out AnsiMouseEvent)Attempts to interpret a CsiToken as an xterm SGR mouse event (CSI < b ; x ; y M/m).TryGetCursorStyle(CsiToken, out AnsiCursorStyle)Attempts to interpret this token as a DECSCUSR cursor style sequence (ESC [ n SP q).