summaryrefslogtreecommitdiffstats
path: root/src/commands/command_line.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/command_line.rs')
-rw-r--r--src/commands/command_line.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/command_line.rs b/src/commands/command_line.rs
index 72ba677..d423835 100644
--- a/src/commands/command_line.rs
+++ b/src/commands/command_line.rs
@@ -2,7 +2,7 @@ use std::str::FromStr;
use crate::config::clean::keymap::AppKeyMapping;
use crate::context::AppContext;
-use crate::error::JoshutoResult;
+use crate::error::AppResult;
use crate::key_command::{AppExecute, Command};
use crate::ui::views::{DummyListener, TuiTextField};
use crate::ui::AppBackend;
@@ -13,7 +13,7 @@ pub fn read_and_execute(
keymap_t: &AppKeyMapping,
prefix: &str,
suffix: &str,
-) -> JoshutoResult {
+) -> AppResult {
context.flush_event();
let mut listener = DummyListener {};
let user_input: Option<String> = TuiTextField::default()