Struct broot::display::Screen [−][src]
Expand description
The dimensions of the screen
Fields
width: u16
height: u16
Implementations
clear from the cursor to the end of line
clear the area and everything to the right. Should be used with parcimony as it could lead to flickering.
pub fn clear_bottom_right_char(
&self,
w: &mut W,
panel_skin: &PanelSkin
) -> Result<(), ProgramError>
pub fn clear_bottom_right_char(
&self,
w: &mut W,
panel_skin: &PanelSkin
) -> Result<(), ProgramError>
just clears the char at the bottom right. (any redraw of this position makes the whole terminal flicker on some terminals like win/conemu, so we draw it only once at start of the app)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Screen
impl UnwindSafe for Screen
Blanket Implementations
Mutably borrows from an owned value. Read more