Skip to main content

run_static_with

Function run_static_with 

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

Run the TUI in static-output mode with custom configuration.

Like run_static but accepts a RunConfig for theme, mouse, tick rate, and other settings.