mirror of https://github.com/rm-dr/daisy
Edited help message
parent
4cfd7ec8b7
commit
89c7d1d50b
|
@ -26,14 +26,14 @@ fn draw_greeter(stdout: &mut RawTerminal<std::io::Stdout>) -> Result<(), std::io
|
||||||
write!(
|
write!(
|
||||||
stdout,
|
stdout,
|
||||||
concat!(
|
concat!(
|
||||||
"{a} ###### {b} @@@@@@\r\n",
|
"{a} ###### {b} @@@@@@\r\n",
|
||||||
"{a} # ##{b}@@ @\r\n",
|
"{a} # ##{b}@@ @\r\n",
|
||||||
"{a} ## #{b}@ @@\r\n",
|
"{a} ## #{b}@ @@\r\n",
|
||||||
"{a} {b}@@@@@@@@@@@@@{a}\r\n",
|
"{a} {b}@@@@@@@@@@@@@{a}\r\n",
|
||||||
"{b} @@ @{a}# ##\r\n",
|
"{b} @@ @{a}# ##\r\n",
|
||||||
"{b} @ @@{a}## #\r\n",
|
"{b} @ @@{a}## #\r\n",
|
||||||
"{b} @@@@@@ {a} ###### {r}\r\n",
|
"{b} @@@@@@ {a} ###### {r}\r\n",
|
||||||
" {t}Daisy{r} {v}v{ver}{r}\r\n",
|
" {t}Daisy{r} {v}v{ver}{r}\r\n",
|
||||||
"\n"
|
"\n"
|
||||||
),
|
),
|
||||||
r = format!("{}{}", color::Fg(color::Reset), style::Reset),
|
r = format!("{}{}", color::Fg(color::Reset), style::Reset),
|
||||||
|
@ -66,14 +66,14 @@ pub fn do_command(
|
||||||
" - Use Up/Down arrows to navigate history.\r\n",
|
" - Use Up/Down arrows to navigate history.\r\n",
|
||||||
" - Use Ctrl-C or Ctrl-D to quit.\r\n",
|
" - Use Ctrl-C or Ctrl-D to quit.\r\n",
|
||||||
"\n",
|
"\n",
|
||||||
"╞═════════════ {t}Commands{r} ═════════════╡\r\n",
|
"╞═══════════════ {t}Commands{r} ═══════════════╡\r\n",
|
||||||
" {c}help{r} Show this help\r\n",
|
" {c}help{r} Show this help\r\n",
|
||||||
" {c}clear{r} Clear the terminal\r\n",
|
" {c}clear{r} Clear the terminal\r\n",
|
||||||
" {c}quit{r} Exit daisy\r\n",
|
" {c}quit{r} Exit daisy\r\n",
|
||||||
//" {c}units{r} List available units\r\n",
|
//" {c}units{r} List available units\r\n",
|
||||||
//" {c}const{r} List available constants\r\n",
|
//" {c}const{r} List available constants\r\n",
|
||||||
" {c}ops{r} List built-in operators\r\n",
|
" {c}ops{r} List built-in operators\r\n",
|
||||||
" {c}fns{r} List built-in functions\r\n",
|
" {c}fns{r} List built-in functions\r\n",
|
||||||
"\n",
|
"\n",
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue