Struct crossterm::cursor::MoveToPreviousLine [−][src]
pub struct MoveToPreviousLine(pub u16);
Expand description
A command that moves the terminal cursor up the given number of lines, and moves it to the first column.
Notes
Commands must be executed/queued for execution otherwise they do nothing.
Trait Implementations
Write an ANSI representation of this command to the given writer. An ANSI code can manipulate the terminal by writing it to the terminal buffer. However, only Windows 10 and UNIX systems support this. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MoveToPreviousLine
impl Send for MoveToPreviousLine
impl Sync for MoveToPreviousLine
impl Unpin for MoveToPreviousLine
impl UnwindSafe for MoveToPreviousLine
Blanket Implementations
Mutably borrows from an owned value. Read more