Add how to newline repl tips at start-up

This commit is contained in:
Josh Mak 2022-10-11 18:25:08 -07:00
parent f7cb015b6b
commit 20fcacbcd6
No known key found for this signature in database
GPG key ID: A3F8AFF5FE3AE1C2

View file

@ -61,6 +61,11 @@ pub const TIPS: &str = concatcp!(
BLUE,
" - ",
END_COL,
"You can use `Ctrl+V`+`Ctrl+J` to make a newline. The repl will also insert a newline if you press enter",
" when the current expression can not be evaluated, e.g. when you type `foo =<ENTER>`.\n\n",
BLUE,
" - ",
END_COL,
":q to quit\n\n",
BLUE,
" - ",