Module crossterm::terminal[][src]

Module that contains all the actions related to the terminal.

We can think of:

  • alternate screen
  • raw mode
  • clearing resizing scrolling the terminal.

Structs

Terminal

Struct that stores an specific platform implementation for terminal related actions.

Enums

ClearType

Enum that can be used for the kind of clearing that can be done in the terminal.

Traits

ITerminal

This trait defines the actions that can be preformed with the terminal. This trait can be implemented so that an concrete implementation of the ITerminal can forfill the wishes to work on an specific platform.

Functions

terminal

Get an Terminal implementation whereon terminal related actions can be performed.