diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-10 09:59:19 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-03-10 09:59:56 +0800 |
| commit | cc626e73df532c05982a17c448f7f4302c899d84 (patch) | |
| tree | ac9c014d16eb49dd2ba3c640b876765b09b33291 /src | |
| parent | 1dc16e67098018112d8cd838537904381d3aaa89 (diff) | |
| download | aichat-cc626e73df532c05982a17c448f7f4302c899d84.tar.gz | |
chore: update `.help` output text
Diffstat (limited to 'src')
| -rw-r--r-- | src/repl/mod.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index b9a6328..f40a011 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -152,8 +152,12 @@ fn dump_repl_help() { .collect::<Vec<String>>() .join("\n"); print_now!( - "{}\n\nPress Ctrl+C to abort conversation, Ctrl+D to exit the REPL\n\n", - head, + r###"{head} + +Type `{{` to enter the multi-line editing mode, type '}}' to exit the mode. +Press Ctrl+C to abort readline, Ctrl+D to exit the REPL + +"###, ); } |
