From e7d7f93d6310e0346adae03697b9fe89d71c10c5 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Tue, 4 Mar 2025 12:19:23 +0000 Subject: [PATCH] feat: clear status message when receiving no message or error from performing file operation --- helix-term/src/ui/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs index 05367dfb4..9e3d8d517 100644 --- a/helix-term/src/ui/mod.rs +++ b/helix-term/src/ui/mod.rs @@ -376,7 +376,7 @@ fn create_file_operation_prompt( match file_op(data.0.clone(), cursor, cx, &path, input) { Some(Ok(msg)) => cx.editor.set_status(msg), Some(Err(msg)) => cx.editor.set_error(msg), - None => (), + None => cx.editor.clear_status(), }; } else { cx.editor