summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJ. Neuschäfer <j.neuschaefer@gmx.net>2023-11-22 01:40:01 +0100
committerJ. Neuschäfer <j.neuschaefer@gmx.net>2023-11-22 02:07:52 +0100
commit12d1bf407ad85da0b1f0c062564af68117ae6111 (patch)
treefc1bdedeea9ce4b612d138f61122b41991610fec /src
parent5c4821ac6ffb8f62db05895ebeed21ae397ed649 (diff)
feat(watch): Add red color to the finishing ferris
This adds some eye-candy for users who finish Rustlings. It is based on ANSI terminal escape sequences and should work in most environments.
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 2aa6f6b..97015af 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -438,7 +438,7 @@ exercise. Make sure to have your editor open!"#;
const FENISH_LINE: &str = "+----------------------------------------------------+
| You made it to the Fe-nish line! |
+-------------------------- ------------------------+
- \\/
+ \\/\x1b[31m
▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒
▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒
▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒
@@ -453,7 +453,7 @@ const FENISH_LINE: &str = "+----------------------------------------------------
▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒
▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒
▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒
- ▒▒ ▒▒ ▒▒ ▒▒
+ ▒▒ ▒▒ ▒▒ ▒▒\x1b[0m
We hope you enjoyed learning about the various aspects of Rust!
If you noticed any issues, please don't hesitate to report them to our repo.