Struct endbasic_std::terminal::TerminalConsole[][src]

pub struct TerminalConsole { /* fields omitted */ }
Expand description

Implementation of the EndBASIC console to interact with stdin and stdout.

Implementations

Creates a new console based on the properties of stdin/stdout.

Trait Implementations

Clears the part of the console given by how.

Sets the console’s foreground and background colors to fg and bg. Read more

Enters the alternate console.

Hides the cursor.

Returns true if the console is attached to an interactive terminal. This controls whether reading a line echoes back user input, for example. Read more

Leaves the alternate console.

Moves the cursor to the given position, which must be within the screen.

Moves the cursor within the line. Positive values move right, negative values move left.

Writes text to the console, followed by a newline or CRLF pair depending on the needs of the console to advance a line. Read more

Waits for and returns the next key press.

Shows the cursor.

Queries the size of the console. Read more

Writes the raw bytes into the console.

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.