Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrwach committed Jan 8, 2024
1 parent f74a40a commit 6c63bf5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
7 changes: 1 addition & 6 deletions src/interactive/app/app_state.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@


use dua::{
traverse::{RunningTraversal}, WalkResult,
};

use dua::{traverse::RunningTraversal, WalkResult};

use super::{navigation::Navigation, EntryDataBundle, SortMode};

Expand Down
20 changes: 8 additions & 12 deletions src/interactive/app/eventloop.rs
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
use crate::{
interactive::{
app::navigation::Navigation,
app_state::FocussedPane,
sorted_entries,
widgets::{glob_search, MainWindow, MainWindowProps},
CursorDirection, CursorMode, DisplayOptions, MarkEntryMode,
},
use crate::interactive::{
app::navigation::Navigation,
app_state::FocussedPane,
sorted_entries,
widgets::{glob_search, MainWindow, MainWindowProps},
CursorDirection, CursorMode, DisplayOptions, MarkEntryMode,
};
use anyhow::Result;
use crossbeam::channel::{Receiver};
use crossbeam::channel::Receiver;
use crosstermion::crossterm::event::{KeyCode, KeyEvent, KeyEventKind, KeyModifiers};
use crosstermion::input::Event;
use dua::{
traverse::{EntryData, ProcessEventResult, RunningTraversal, Traversal},
WalkOptions, WalkResult,
};
use std::{
path::PathBuf,
};
use std::path::PathBuf;
use tui::backend::Backend;
use tui_react::Terminal;

Expand Down
4 changes: 2 additions & 2 deletions src/interactive/app/terminal_app.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{path::PathBuf};
use std::path::PathBuf;

use anyhow::Result;
use crossbeam::channel::Receiver;
Expand All @@ -10,7 +10,7 @@ use dua::{
use tui::prelude::Backend;
use tui_react::Terminal;

use crate::{interactive::widgets::MainWindow};
use crate::interactive::widgets::MainWindow;

use super::{
app_state::{AppState, ProcessingResult},
Expand Down

0 comments on commit 6c63bf5

Please sign in to comment.