[−][src]Trait crossterm::Command
An interface for a command that performs an action on the terminal.
Crossterm provides a set of commands, and there is no immediate reason to implement a command yourself. In order to understand how to use and execute commands, it is recommended that you take a look at Command Api chapter.
Associated Types
Loading content...Required methods
fn ansi_code(&self) -> Self::AnsiType
Returns an ANSI code representation of this command. An ANSI code can manipulate the terminal by writing it to the terminal buffer. However, only Windows 10 and UNIX systems support this.
This method does not need to be accessed manually, as it is used by the crossterm's Command Api
Implementations on Foreign Types
impl<'_, T: Command> Command for &'_ T
[src]
Loading content...
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 MoveToColumn
[src]
impl Command for MoveToNextLine
[src]
impl Command for MoveToPreviousLine
[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 ResetColor
[src]
impl Command for SetAttribute
[src]
impl Command for SetAttributes
[src]
impl Command for SetBackgroundColor
[src]
impl Command for SetColors
[src]
impl Command for SetForegroundColor
[src]
impl Command for Clear
[src]
impl Command for EnterAlternateScreen
[src]
impl Command for LeaveAlternateScreen
[src]
impl Command for ScrollDown
[src]
impl Command for ScrollUp
[src]
impl Command for SetSize
[src]
impl<'a> Command for SetTitle<'a>
[src]
impl<D> Command for PrintStyledContent<D> where
D: Display + Clone,
[src]
D: Display + Clone,