pub struct CrossTerm { /* private fields */ }
Expand description

A thin wrapper over the Crossterm library.

Implementations

Create a new instance.

Trait Implementations

Formats the value using the given formatter. Read more

Get the supported color mode.

Reset the terminal interface to a default state. Read more

Flush the contents printed to the terminal interface. Read more

Print text to the terminal interface. Read more

Set the color attribute of text printed to the terminal interface. Read more

Set the dimmed style attribute of text printed to the terminal interface. Read more

Set the underlined style attribute of text printed to the terminal interface. Read more

Set the reversed style attribute of text printed to the terminal interface. Read more

Read the next input event from the terminal interface. Read more

Get the number of columns and rows of the terminal interface.

Move the cursor position x characters from the start of the line. Read more

Move the cursor to the next line. Read more

Start the terminal interface interactions. Read more

End the terminal interface interactions. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.