diff options
| author | Rory Dudley | 2025-09-08 05:04:54 -0600 |
|---|---|---|
| committer | Rory Dudley | 2025-09-08 05:12:46 -0600 |
| commit | 2a5e3834047734b52df08d6505e6a36e2d447485 (patch) | |
| tree | 464596923f08d62308a293852ca367ae762f25e6 /src/main.rs | |
| parent | 9bd00b9c4fe9d742fff87c1db6b6469449103900 (diff) | |
| download | dwarvish-titles.tar.gz | |
Change the default prompt charactertitles
Changed the default prompt character to ¥ (the yen symbol).
Signed-off-by: Rory Dudley <[email protected]>
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index d58e9e0..db5e22d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,7 +45,7 @@ fn repl( // Get the prompt let prompt = match env::var("PS1") { Ok(val) => val, - Err(_) => String::from("|> "), + Err(_) => String::from(" ¥ "), }; // Update shell title @@ -217,7 +217,7 @@ fn main() { } else { let prompt = match env::var("PS1") { Ok(val) => val, - Err(_) => String::from("|> "), + Err(_) => String::from(" ¥ "), }; print!("\n{}", prompt); io::stdout().flush().unwrap(); |
