Struct textmode::blocking::Output [−][src]
pub struct Output { /* fields omitted */ }
Expand description
Implementations
Creates a new Output
instance containing a
ScreenGuard
instance.
Creates a new Output
instance without creating a
ScreenGuard
instance.
Removes the ScreenGuard
instance stored in this
Output
instance and returns it. This can be useful if you need to
manage the lifetime of the ScreenGuard
instance
separately.
Draws the in-memory screen to the terminal on stdout
. This is done
using a diff mechanism to only update the parts of the terminal which
are different from the in-memory screen.
Draws the in-memory screen to the terminal on stdout
. This clears
the screen and redraws it from scratch, rather than using a diff
mechanism like refresh
. This can be useful when the current state of
the terminal screen is unknown, such as after the terminal has been
resized.
Trait Implementations
Returns the in-memory screen itself. This is the screen that will be
drawn on the next call to refresh
. Read more
Writes a sequence of bytes, potentially containing terminal escape sequences, to the in-memory screen. Read more
Writes a string of printable characters to the in-memory screen.
Clears the line containing the cursor on the in-memory screen.
Clears the in-memory screen’s currently active drawing attributes.
Sets the foreground color for subsequent drawing operations to the in-memory screen. Read more
Sets the background color for subsequent drawing operations to the in-memory screen. Read more
Sets whether subsequent text drawn to the in-memory screen should be bold. Read more
Sets whether subsequent text drawn to the in-memory screen should be italic. Read more
Sets whether subsequent text drawn to the in-memory screen should be underlined. Read more
Sets whether subsequent text drawn to the in-memory screen should have its colors inverted. Read more