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.
This commit is contained in:
J. Neuschäfer 2023-11-22 01:40:01 +01:00
parent 5c4821ac6f
commit 12d1bf407a

View file

@ -438,7 +438,7 @@ exercise. Make sure to have your editor open!"#;
const FENISH_LINE: &str = "+----------------------------------------------------+ const FENISH_LINE: &str = "+----------------------------------------------------+
| You made it to the Fe-nish line! | | 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! 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. If you noticed any issues, please don't hesitate to report them to our repo.