The TerminalScreen type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clear()()()() |
Clears the whole screen and sets cursor position to the top-left corner.
| |
Clear(Boolean) |
Clears the whole screen and sets cursor position to the top-left corner.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCell |
Gets the cell at the specified position.
| |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetRegion |
Gets the array of cells at the specified region represented by the TerminalScreenRegion class.
| |
GetRegionText |
Gets the text at the specified region. It is represented by array of lines.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveBufferArea |
Moves the specified region of screen buffer to the specified position.
| |
SetCell |
Sets the cell at the specified position to the specified cell.
| |
SetCursorPosition |
Sets the cursor position.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
Write(Object) |
Writes the text represented by the specified object to the console.
| |
Write(String) |
Writes the specified string to the console.
| |
Write(String, array<Object>[]()[][]) |
Writes the text represented by the specified array of objects to the console.
| |
WriteLine()()()() |
Writes a newline character to the console.
| |
WriteLine(Object) |
Writes the text represented by the specified object to the console, followed by a newline character.
| |
WriteLine(String) |
Writes the specified string to the console, followed by a newline character.
| |
WriteLine(String, array<Object>[]()[][]) |
Writes the text represented by the specified array of objects to the console, followed by a newline character.
|
Properties
Name | Description | |
---|---|---|
Columns |
Gets the number of character columns.
| |
CursorLeft |
Gets the cursor column (0 is the first column).
| |
CursorTop |
Gets the cursor row (0 is the first row).
| |
Rows |
Gets the number of character rows.
|