diff options
| author | sigoden <sigoden@gmail.com> | 2024-10-16 19:56:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-16 19:56:27 +0800 |
| commit | 98cc9879c7a87526548c325aa42eeb401cc11f35 (patch) | |
| tree | 36e7bfac05f0254a4b65b2d59cb244c8736f6bec /src/repl/mod.rs | |
| parent | 9935ecc12f9d84c4eb5c663f8d9362f6529d4ef2 (diff) | |
| download | aichat-98cc9879c7a87526548c325aa42eeb401cc11f35.tar.gz | |
feat: add shell action `copy` (#926)
Diffstat (limited to 'src/repl/mod.rs')
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(()) |
