summaryrefslogtreecommitdiffstats
path: root/src/commands
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-13 21:51:50 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-13 21:51:50 -0500
commit726a7a424f7ddec97478490a0f3a25005dde45ac (patch)
tree499e2fad776e46a7a272806fc2bd10aa98e5610e /src/commands
parentf15674eb5c550423b8b7d02ac05bd36a9dec4040 (diff)
more work on textfield
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/command_line.rs2
-rw-r--r--src/commands/open_file.rs2
-rw-r--r--src/commands/set_mode.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/command_line.rs b/src/commands/command_line.rs
index 4d3c820..ff3c694 100644
--- a/src/commands/command_line.rs
+++ b/src/commands/command_line.rs
@@ -1,7 +1,7 @@
use crate::commands::{self, JoshutoCommand, JoshutoRunnable};
use crate::context::JoshutoContext;
use crate::error::JoshutoResult;
-use crate::textfield::TextField;
+use crate::util::textfield::TextField;
use crate::ui::TuiBackend;
#[derive(Clone, Debug)]
diff --git a/src/commands/open_file.rs b/src/commands/open_file.rs
index 5335fcd..b1b46d1 100644
--- a/src/commands/open_file.rs
+++ b/src/commands/open_file.rs
@@ -5,7 +5,7 @@ use crate::config::mimetype::JoshutoMimetypeEntry;
use crate::context::JoshutoContext;
use crate::error::{JoshutoError, JoshutoErrorKind, JoshutoResult};
use crate::history::DirectoryHistory;
-use crate::textfield::TextField;
+use crate::util::textfield::TextField;
use crate::ui::TuiBackend;
use crate::MIMETYPE_T;
diff --git a/src/commands/set_mode.rs b/src/commands/set_mode.rs
index db42147..a84cc80 100644
--- a/src/commands/set_mode.rs
+++ b/src/commands/set_mode.rs
@@ -2,7 +2,7 @@ use crate::commands::{CursorMoveDown, JoshutoCommand, JoshutoRunnable};
use crate::context::JoshutoContext;
use crate::error::JoshutoResult;
use crate::fs::JoshutoDirEntry;
-use crate::textfield::TextField;
+use crate::util::textfield::TextField;
use crate::ui::TuiBackend;
use crate::unix;