diff options
Diffstat (limited to 'src/interactive/app/eventloop.rs')
-rw-r--r-- | src/interactive/app/eventloop.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/interactive/app/eventloop.rs b/src/interactive/app/eventloop.rs index c166697..88f2c11 100644 --- a/src/interactive/app/eventloop.rs +++ b/src/interactive/app/eventloop.rs @@ -8,12 +8,7 @@ use dua::{ WalkOptions, WalkResult, }; use failure::Error; -use std::{ - collections::BTreeMap, - io, - path::PathBuf, - io::Write -}; +use std::{collections::BTreeMap, io, io::Write, path::PathBuf}; use termion::event::Key; use tui::backend::Backend; use tui_react::Terminal; @@ -102,7 +97,7 @@ impl TerminalApp { // Exit 'quickly' to avoid having to wait for all memory to be freed by us. // Let the OS do it - we have nothing to lose, literally. std::process::exit(0); - }, + } Mark => self.state.focussed = Main, Help => { self.state.focussed = Main; |