Skip to main content

run

Function run 

Source
pub fn run(options: &Options, ruleset: Arc<Ruleset>) -> Result<Outcome>
Expand description

Runs the view until the reader quits, then puts the terminal back.

ยงErrors

Anything the terminal refuses. A failure to restore it is reported even when the run itself succeeded, because a terminal left in raw mode is the one outcome a user cannot ignore and cannot easily undo.