Struct crossterm::cursor::SavePosition [−][src]
pub struct SavePosition;
Expand description
A command that saves the current terminal cursor position.
See the RestorePosition command.
Notes
- The cursor position is stored globally.
- 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
Auto Trait Implementations
impl RefUnwindSafe for SavePosition
impl Send for SavePosition
impl Sync for SavePosition
impl Unpin for SavePosition
impl UnwindSafe for SavePosition
Blanket Implementations
Mutably borrows from an owned value. Read more