Skip to main content

run_map

Function run_map 

Source
pub fn run_map(model: &GalaxyModel, session: &SessionState) -> Result<()>
Expand description

Enter the interactive map, returning when the user exits.

Sets up an alternate screen with raw mode, runs the event loop, and restores the terminal on exit (even if the loop errors).