Skip to main content

run_screen

Function run_screen 

Source
pub fn run_screen<S: Screen>(screen: &mut S) -> Result<()>
Expand description

Run screen full screen until it is done. The terminal is restored on return and on panic. Log records raised meanwhile are held back and written once the normal screen is back. Blocking work runs on the normal screen, where its own progress output belongs, and the view comes back after it. The mouse and keys held with modifiers are reported only to a screen that asks for them, and events already queued (a turn of the wheel is several) are taken before the screen is drawn again.