Skip to main content

run_static

Function run_static 

Source
pub fn run_static(
    output: &mut StaticOutput,
    dynamic_height: u32,
    f: impl FnMut(&mut Context),
) -> Result<()>
Available on crate feature crossterm only.
Expand description

Run the TUI in static-output mode.

Static lines written through StaticOutput are printed into terminal scrollback, while the interactive UI stays rendered in a fixed-height inline area at the bottom.