WindowTitle(ReadOnlySpan) Method

Definition

Namespace XenoAtom.Ansi
Assembly XenoAtom.Ansi.dll

Sets the window title (OSC 2) (ESC ] 2 ; string ST).

[NullableContext((byte)0)]
public AnsiWriter WindowTitle(ReadOnlySpan<char> title)

Parameters

title
ReadOnlySpan<Char>

The window title string (Windows Console traditionally limits it to < 255 characters).

Returns

AnsiWriter
This writer, for fluent chaining.