pub fn run_loop<T>(transport: &mut T, app: &mut App) -> Result<()>Expand description
Run the TUI until the app requests shutdown or the transport disconnects. Does not drop the transport; the caller owns its lifecycle.
§Errors
Propagates io::Errors from:
Terminal::draw, which fails if the backend’s writer is broken (stdout closed, SSH channel closed while writing).Transport::poll, which fails on disconnect.