Skip to main content

run_tui

Function run_tui 

Source
pub async fn run_tui<S, F>(
    commands: UnboundedReceiver<S::Command>,
    events: UnboundedSender<S::Event>,
    options: TuiOptions<S::Event>,
    make_session: F,
) -> Result<()>
where S: TuiSessionDriver, F: FnOnce(u16) -> S,