diff options
Diffstat (limited to 'src/commands/command_line.rs')
-rw-r--r-- | src/commands/command_line.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/command_line.rs b/src/commands/command_line.rs index 5795e5d..a00f442 100644 --- a/src/commands/command_line.rs +++ b/src/commands/command_line.rs @@ -1,8 +1,8 @@ use crate::commands::{self, JoshutoCommand, JoshutoRunnable}; use crate::context::JoshutoContext; use crate::error::JoshutoResult; +use crate::ui::widgets::TuiTextField; use crate::ui::TuiBackend; -use crate::util::textfield::TextField; #[derive(Clone, Debug)] pub struct CommandLine { @@ -23,8 +23,8 @@ impl CommandLine { context: &mut JoshutoContext, backend: &mut TuiBackend, ) -> JoshutoResult<()> { - let mut textfield = TextField::new(backend, &context.events); - let user_input: Option<String> = textfield.readline(); + // let mut textfield = TuiTextField::new(backend, &context.events); + let user_input: Option<String> = None; // textfield.readline(); if let Some(s) = user_input { let trimmed = s.trim_start(); |