Skip to main content

with_terminal

Function with_terminal 

Source
pub fn with_terminal<T>(f: impl FnMut(&mut CrosstermTerminal) -> T) -> Result<T>
Expand description

Runs a closure with the default Foundry terminal setup.