ITerminal Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface class ITerminal : System::CommandLine::IConsole
public interface ITerminal : System.CommandLine.IConsole
type ITerminal = interface
interface IConsole
interface IStandardOut
interface IStandardError
interface IStandardIn
Public Interface ITerminal
Implements IConsole
- Derived
- Implements
Properties
BackgroundColor | |
CursorLeft | |
CursorTop | |
Error |
The stream writer for standard error. (Inherited from IStandardError) |
ForegroundColor | |
IsErrorRedirected |
Indicates whether the standard error stream has been redirected. (Inherited from IStandardError) |
IsInputRedirected |
Gets a value indicating whether input is redirected. (Inherited from IStandardIn) |
IsOutputRedirected |
Indicates whether the standard output stream has been redirected. (Inherited from IStandardOut) |
Out |
The stream writer for standard output. (Inherited from IStandardOut) |
Methods
Clear() | |
HideCursor() | |
ResetColor() | |
SetCursorPosition(Int32, Int32) | |
ShowCursor() |
Extension Methods
Write(IConsole, String) |
Writes the current string value to the standard output stream. |
WriteLine(IConsole, String) |
Writes the current string value, followed by the current environment's line terminator, to the standard output stream. |
Append(IConsole, View, OutputMode) | |
DetectOutputMode(IConsole) | |
GetTerminal(IConsole, Boolean, OutputMode) | |
Render(ITerminal, TextSpan, Region) | |
Render(ITerminal, FormattableString, Region) |