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

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

public class NetOutput : IConsoleOutput, IDisposable

Inheritance

NetOutput

Implements

Inherited Members

Constructors

NetOutput()

Creates a new instance of the NetOutput class.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetWindowSize()

Returns the current size of the console window in rows/columns (i.e. of characters not pixels).

SetCursorPosition(int, int)

Moves the console cursor to the given location.

SetCursorVisibility(CursorVisibility)

Updates the console cursor (the blinking underscore) to be hidden, visible etc.

Write(ReadOnlySpan)

Writes the given text directly to the console. Use to send ansi escape codes etc. Regular screen output should use theIOutputBuffer overload.

Write(IOutputBuffer)

Write the contents of the buffer to the console