pub enum Tui {
Fullscreen,
Inline,
}Expand description
How the shell draws; /tui fullscreen and /tui default switch it.
Variants§
Fullscreen
The whole terminal, on the alternate screen; the terminal’s own scrollback comes back untouched at the end.
Inline
In the terminal’s own scrollback: finished output stays there, and only the input box and what’s around it are redrawn. Panels that cover the whole screen still open on the alternate screen.
Implementations§
Trait Implementations§
impl Copy for Tui
impl Eq for Tui
impl StructuralPartialEq for Tui
Auto Trait Implementations§
impl Freeze for Tui
impl RefUnwindSafe for Tui
impl Send for Tui
impl Sync for Tui
impl Unpin for Tui
impl UnsafeUnpin for Tui
impl UnwindSafe for Tui
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more