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