TryGetCursorStyle(CsiToken, out AnsiCursorStyle) Method

Definition

Assembly XenoAtom.Ansi.dll

Attempts to interpret this token as a DECSCUSR cursor style sequence (ESC [ n SP q).

[NullableContext((byte)1)]
public static bool TryGetCursorStyle(this CsiToken token, scoped out AnsiCursorStyle style)

Parameters

token
CsiToken

The token to inspect.

style
AnsiCursorStyle

The parsed cursor style.

Returns

Boolean
true if the token is a cursor style sequence and the value is in-range; otherwise false.