From cc626e73df532c05982a17c448f7f4302c899d84 Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 10 Mar 2023 09:59:19 +0800 Subject: chore: update `.help` output text --- src/repl/mod.rs | 8 ++++++-- 1 file 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::>() .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 + +"###, ); } -- cgit v1.2.3