summaryrefslogtreecommitdiffstats
path: root/src/interactive/app/eventloop.rs
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-03-15 20:03:03 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-03-15 20:03:03 +0800
commitb26f8ff07730c6d0ba21cd2db398539a1252bf7a (patch)
treeca408dafd97f5dfad8f0c4350a587e2c651a7ee6 /src/interactive/app/eventloop.rs
parentd53fd5067daecd6e2e7affec917f594fd4e951c6 (diff)
adapt journey tests to changed signature
related to #42
Diffstat (limited to 'src/interactive/app/eventloop.rs')
-rw-r--r--src/interactive/app/eventloop.rs9
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;