[NullableContext((byte)1)]
[Nullable((byte)0)]
public static class Terminal
kind:method, kind:property, kind:ctor. Press Esc to clear.BufferHeightGets or sets the buffer height in character cells (best effort).DecorationsGets or sets the current decoration flags (best effort).ForegroundColorGets or sets the current foreground color (best effort).InGets a TextReader that reads from terminal input.InstanceGets the global terminal instance (initialized lazily).IsInitializedGets a value indicating whether the terminal has been initialized.IsInputRunningGets a value indicating whether the input loop is currently running.IsInteractiveGets a value indicating whether the terminal appears interactive (not redirected).LargestWindowHeightGets the largest supported window height in character cells (best effort).OptionsGets the options used by this terminal instance.WindowGets window and buffer size operations.WindowHeightGets or sets the window height in character cells (best effort).AlternateScreen(Boolean)Enters or leaves the alternate screen buffer (ESC [ ? 1049 h / ESC [ ? 1049 l).Clear(TerminalClearKind)Clears the terminal (best effort).ClearAllTabStops()Clears all horizontal tab stops (TBC) (ESC [ 3 g).CursorBack(Int32)Emits CSI cursor back (ESC [ n D).CursorBackTab(Int32)Moves the cursor to the previous horizontal tab stop (CBT) (ESC [ n Z).CursorBlinking(Boolean)Enables or disables the text cursor blinking mode (ATT160) (ESC [ ? 12 h / ESC [ ? 12 l).CursorDown(Int32)Emits CSI cursor down (ESC [ n B).CursorVerticalAbsolute(Int32)Emits CSI line position absolute (ESC [ row d), 1-based.DeleteCharacters(Int32)Emits CSI delete characters (ESC [ n P).DeleteLines(Int32)Emits CSI delete lines (ESC [ n M).EnableBracketedPaste()Enables bracketed paste within a scope and restores the previous state when disposed (best effort).EnableMouse(TerminalMouseMode)Enables mouse reporting within a scope and restores the previous state when disposed (best effort).EndLink()Ends the current OSC 8 hyperlink (ESC ] 8 ; ; ST).EnterAlternateScreen()Emits the DEC private mode sequence to enter the alternate screen buffer (ESC [ ? 1049 h).EraseCharacters(Int32)Emits CSI erase characters (ESC [ n X).EraseInDisplay(Int32)Emits CSI erase in display (ESC [ n J).EraseLine(Int32)Emits CSI erase in line (ESC [ n K).ExitLineDrawingMode()Exits DEC line drawing mode and restores US-ASCII (G0) (ESC ( B).Forward(Int32)Emits CSI cursor forward (ESC [ n C).HorizontalAndVerticalPosition(Int32, Int32)Emits CSI horizontal and vertical position (ESC [ row ; col f), 1-based.HorizontalTabSet()Sets a horizontal tab stop at the current cursor column (HTS) (ESC H).KeypadNumericMode()Enables keypad numeric mode (DECKPNM) (ESC >).Open(ITerminalBackend?, TerminalOptions?, Boolean)Opens a terminal session that will dispose the global instance when disposed.PreviousLine(Int32)Emits CSI previous line (ESC [ n F).PrivateMode(Int32, Boolean)Sets or resets a DEC private mode (DECSET/DECRST) (ESC [ ? n h / ESC [ ? n l).ReadLine(TerminalReadLineOptions?)Reads a line of text from the terminal using terminal input events.RemoveMarkupStyle(String)Removes a custom markup style token and invalidates cached markup renderers.RequestCursorPosition()Requests the cursor position report (DECXCPR) (ESC [ 6 n).ResetScrollRegion()Resets the scrolling region (DECSTBM) (ESC [ r).RestoreCursorPosition()Emits CSI restore cursor position (ESC [ u).ReverseIndex()Emits reverse index (RI) (ESC M).SaveCursorPosition()Emits CSI save cursor position (ESC [ s).ScrollDown(Int32)Emits CSI scroll down (ESC [ n T).SetPaletteColor(Int32, Byte, Byte, Byte)Modifies a palette color entry (OSC 4) (ESC ] 4 ; i ; rgb:rr/gg/bb ST).ShowCursor(Boolean)Emits the DEC private mode sequence to show or hide the cursor (ESC [ ? 25 h / ESC [ ? 25 l).StopInputAsync(CancellationToken)Stops the input loop and disposes any input resources (idempotent).TryGetCursorPosition(out TerminalPosition)Tries to get the cursor position (0-based).TryReadEvent(out TerminalEvent)Tries to read a single event without awaiting.Undecorate(AnsiDecorations)Disables the specified decoration flags (SGR).Up(Int32)Emits CSI cursor up (ESC [ n A).UseAlternateScreen()Enables the alternate screen buffer within a scope and restores the previous state when disposed (best effort).UseCursorPosition(TerminalPosition)Sets the cursor position and restores the previous position when disposed (best effort).UseTitle(String)Sets the terminal title within a scope and restores the previous title when disposed (best effort).WindowTitle(ReadOnlySpan<Char>)Sets the window title (OSC 2) (ESC ] 2 ; string ST).Write(ReadOnlySpan<Char>)Writes text to the terminal output.WriteAtomic(Action<AnsiWriter>)Ensures multiple ANSI writes are not interleaved with other terminal output.WriteErrorAtomic(Action<TextWriter>)Ensures multiple text writes to standard error are not interleaved with other terminal output.WriteLine(ReadOnlySpan<Char>)Writes text followed by a line terminator.