pub fn run_screen_with<S: Screen>(
screen: &mut S,
on_key: impl FnMut(&mut S, KeyEvent),
) -> Result<()>Expand description
run_screen, with each key (but Ctrl-C) handed to on_key rather
than Screen::handle_key: for a caller with rules of its own about
which keys a screen sees.