Skip to content

Commit 12d1bf4

Browse files
committed
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.
1 parent 5c4821a commit 12d1bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ exercise. Make sure to have your editor open!"#;
438438
const FENISH_LINE: &str = "+----------------------------------------------------+
439439
| You made it to the Fe-nish line! |
440440
+-------------------------- ------------------------+
441-
\\/
441+
\\/\x1b[31m
442442
▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒
443443
▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒
444444
▒▒▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒▒▒
@@ -453,7 +453,7 @@ const FENISH_LINE: &str = "+----------------------------------------------------
453453
▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒
454454
▒▒ ▒▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒ ▒▒
455455
▒▒ ▒▒ ▒▒ ▒▒ ▒▒ ▒▒
456-
▒▒ ▒▒ ▒▒ ▒▒
456+
▒▒ ▒▒ ▒▒ ▒▒\x1b[0m
457457
458458
We hope you enjoyed learning about the various aspects of Rust!
459459
If you noticed any issues, please don't hesitate to report them to our repo.

0 commit comments

Comments
 (0)