mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 07:17:50 +03:00
Shorten the repl greeting a bit.
This commit is contained in:
parent
c09fdfe428
commit
070154e97b
@ -36,8 +36,7 @@ use std::str::from_utf8_unchecked;
|
||||
use target_lexicon::Triple;
|
||||
|
||||
pub const WELCOME_MESSAGE: &str = "\n The rockin’ \u{001b}[36mroc repl\u{001b}[0m\n\u{001b}[35m────────────────────────\u{001b}[0m\n\n";
|
||||
pub const INSTRUCTIONS: &str =
|
||||
"Enter an expression, or :help for a list of commands, or :exit to exit.\n";
|
||||
pub const INSTRUCTIONS: &str = "Enter an expression, or :help, or :exit.\n";
|
||||
pub const PROMPT: &str = "\n\u{001b}[36m»\u{001b}[0m ";
|
||||
pub const ELLIPSIS: &str = "\u{001b}[36m…\u{001b}[0m ";
|
||||
|
||||
|
@ -19,8 +19,7 @@ pub struct Out {
|
||||
// TODO get these from roc_cli::repl instead, after figuring out why
|
||||
// `extern crate roc_cli;` doesn't work.
|
||||
const WELCOME_MESSAGE: &str = "\n The rockin’ \u{001b}[36mroc repl\u{001b}[0m\n\u{001b}[35m────────────────────────\u{001b}[0m\n\n";
|
||||
const INSTRUCTIONS: &str =
|
||||
"Enter an expression, or :help for a list of commands, or :exit to exit.\n";
|
||||
const INSTRUCTIONS: &str = "Enter an expression, or :help, or :exit.\n";
|
||||
const PROMPT: &str = "\n\u{001b}[36m»\u{001b}[0m ";
|
||||
|
||||
pub fn path_to_roc_binary() -> PathBuf {
|
||||
|
Loading…
Reference in New Issue
Block a user