[−][src]Trait crossterm::Command
A command is an action that can be performed on the terminal.
crossterm already delivers a number of commands. There is no need to implement them yourself. Also, you don't have to execute the commands yourself by calling a function.
Associated Types
Loading content...Required methods
fn ansi_code(&self) -> Self::AnsiType
Returns the ANSI code representation of this command. You can manipulate the terminal behaviour by writing an ANSI escape code to the terminal. You are able to use ANSI escape codes only for windows 10 and UNIX systems.
This method is mainly used internally by crossterm!
Implementors
impl Command for DisableBlinking
[src]
impl Command for EnableBlinking
[src]
impl Command for Hide
[src]
impl Command for MoveDown
[src]
impl Command for MoveLeft
[src]
impl Command for MoveRight
[src]
impl Command for MoveTo
[src]
impl Command for MoveUp
[src]
impl Command for RestorePosition
[src]
impl Command for SavePosition
[src]
impl Command for Show
[src]
impl Command for DisableMouseCapture
[src]
impl Command for EnableMouseCapture
[src]
impl Command for EnterAlternateScreen
[src]
impl Command for LeaveAlternateScreen
[src]
impl Command for ResetColor
[src]
impl Command for SetAttribute
[src]
impl Command for SetBackgroundColor
[src]
impl Command for SetForegroundColor
[src]
impl Command for Clear
[src]
impl Command for ScrollDown
[src]
impl Command for ScrollUp
[src]
impl Command for SetSize
[src]
impl<D> Command for PrintStyledContent<D> where
D: Display + Clone,
[src]
D: Display + Clone,