From 98cc9879c7a87526548c325aa42eeb401cc11f35 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 16 Oct 2024 19:56:27 +0800 Subject: feat: add shell action `copy` (#926) --- src/repl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/repl') diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 9a70ba5..d1068fd 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -588,7 +588,7 @@ Type ".help" for additional help. fn copy(&self, text: &str) -> Result<()> { if text.is_empty() { - bail!("Empty text") + bail!("No text to copy") } set_text(text)?; Ok(()) -- cgit v1.2.3