@@ -4,8 +4,8 @@ use crate::{
44 app:: navigation:: Navigation ,
55 app_state:: FocussedPane ,
66 sorted_entries,
7- widgets:: { glob_search, MainWindow , MainWindowProps } , CursorDirection , CursorMode , DisplayOptions ,
8- MarkEntryMode ,
7+ widgets:: { glob_search, MainWindow , MainWindowProps } ,
8+ CursorDirection , CursorMode , DisplayOptions , MarkEntryMode ,
99 } ,
1010} ;
1111use anyhow:: Result ;
@@ -16,20 +16,16 @@ use dua::{
1616 traverse:: { size_on_disk, EntryData , Traversal } ,
1717 WalkOptions , WalkResult ,
1818} ;
19- use std:: {
20- time:: { SystemTime , UNIX_EPOCH } ,
21- } ;
19+ use std:: time:: { SystemTime , UNIX_EPOCH } ;
2220use tui:: backend:: Backend ;
2321use tui_react:: Terminal ;
2422
23+ use super :: app_state:: { AppState , Cursor , ProcessingResult } ;
2524use super :: {
2625 app_state:: { parent_or_panic, pop_or_panic, set_entry_info_or_panic, EntryInfo } ,
2726 terminal_app:: TraversalEvent ,
2827 tree_view:: TreeView ,
2928} ;
30- use super :: {
31- app_state:: { AppState , Cursor , ProcessingResult } ,
32- } ;
3329
3430impl AppState {
3531 pub fn navigation_mut ( & mut self ) -> & mut Navigation {
@@ -355,7 +351,7 @@ impl AppState {
355351 self . traversal_state . received_event = true ;
356352 }
357353 key
358- } ,
354+ }
359355 Event :: Resize ( _, _) => refresh_key ( ) ,
360356 _ => return Ok ( None ) ,
361357 } ;
0 commit comments