summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-10 09:59:19 +0800
committersigoden <sigoden@gmail.com>2023-03-10 09:59:56 +0800
commitcc626e73df532c05982a17c448f7f4302c899d84 (patch)
treeac9c014d16eb49dd2ba3c640b876765b09b33291 /src/repl
parent1dc16e67098018112d8cd838537904381d3aaa89 (diff)
downloadaichat-cc626e73df532c05982a17c448f7f4302c899d84.tar.gz
chore: update `.help` output text
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/mod.rs8
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
+
+"###,
);
}