Edited help message

pull/2/head
Mark 2023-06-07 15:01:16 -07:00
parent ed82e7f17b
commit a7e1a5a69f
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 7 additions and 1 deletions

View File

@ -60,6 +60,12 @@ pub fn do_command(
write!(stdout,
concat!(
"Daisy is a high-precision, general-purpose\r\n",
"scientific calculator.\r\n",
"\n",
" - Use Up/Down arrows to navigate history.\r\n",
" - Use Ctrl-C or Ctrl-D to quit.\r\n",
"\n",
"╞═════════════ {t}Commands{r} ═════════════╡\r\n",
" {c}help{r} Show this help\r\n",
" {c}clear{r} Clear the terminal\r\n",
@ -68,7 +74,7 @@ pub fn do_command(
//" {c}const{r} List available constants\r\n",
" {c}ops{r} List built-in operators\r\n",
" {c}fns{r} List built-in functions\r\n",
"\n"
"\n",
),
r = format!("{}{}", color::Fg(color::Reset), style::Reset),