diff options
Diffstat (limited to 'src/interactive/app/state.rs')
-rw-r--r-- | src/interactive/app/state.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interactive/app/state.rs b/src/interactive/app/state.rs index e242a71..47f681b 100644 --- a/src/interactive/app/state.rs +++ b/src/interactive/app/state.rs @@ -1,4 +1,5 @@ use std::collections::HashSet; +use std::path::PathBuf; use dua::traverse::{BackgroundTraversal, TraversalStats}; use dua::WalkOptions; @@ -32,7 +33,7 @@ pub struct AppState { pub message: Option<String>, pub focussed: FocussedPane, pub received_events: bool, - pub active_traversal: Option<BackgroundTraversal>, + pub active_traversal: Option<(BackgroundTraversal, Option<PathBuf>)>, pub stats: TraversalStats, pub walk_options: WalkOptions, } |