[−][src]Crate crossterm
Modules
error | Module containing error handling logic. |
Structs
AlternateScreen | With this type you will be able to switch to alternate screen and back to main screen. Check also the Screen type for swishing to alternate mode. |
AsyncReader | This is a wrapper for reading from the input asynchronously. This wrapper has a channel receiver that receives the input from the user whenever it typed something. You only need to check whether there are new characters available. |
Crossterm | This type offers a easy way to use functionalities like |
ObjectStyle | Struct that contains the style properties that can be applied to an displayable object. |
Screen | This type represents a screen which could be in normal, raw and alternate modes. |
StyledObject | Struct that contains both the style and the content wits can be styled. |
Terminal | Allows you to preform actions on the terminal. |
TerminalColor | Allows you to style the terminal. |
TerminalCursor | Allows you to preform actions with the terminal cursor. |
TerminalInput | Allows you to preform actions with the < option >. |
TerminalOutput | Struct that is a handle to the current terminal screen. |
Enums
Attribute | Attributes that could be applied on some text. (Windows specific) |
ClearType | Enum that specifies a way of clearing. |
Color | Colors that are available for coloring the terminal font. |
ColorType | Color types that can be used to determine if the Color enum is a Fore- or Background Color. |
KeyEvent | This enum represents key events which could be caused by the user. |
Functions
color | Get a |
cursor | Get a |
input | Get a |
style | This could be used to style a type who is implementing |
terminal | Get a |