pub async fn run_loop<B, S>(
terminal: &mut Terminal<B>,
events: S,
app: DashboardApp,
ctx: LoopContext,
) -> Result<()>Expand description
The dashboard loop over any backend and any source of input events.
Returns when the user quits or events ends. The caller owns the terminal
and whatever it took to set it up.