Convert "sl" Source Code from C to Rust

Click here to see entire code to this point.
Previous - Create Our Own "my_mvaddstr()" Function

Add Some Tweaks to Ferris

Just for kicks, let's add some tweaks to our "Ferris" image:

main.rs
...
pub const FERRIS: &str = r"
       _~^~^~_     '
  \)  /  o o  \  (/'
    \'_   -   _'/  '
     / '-----' \   '

       _~^~^~_     '
  \)  /  o o  \  (/'
    \'_   -   _'/  '
     / '-----' \   '

       _~^~^~_     '
  \)  /  o o  \  (/'
    \'_   -   _'/  '
     / '-----' \   '

       _~^~^~_     '
  \)  /  o o  \  ()'
    \'_   -   _'/  '
     | '-----' |   '

       _~^~^~_     '
  \)  /  o o  \  ()'
    \'_   -   _'/  '
     | '-----' |   '

       _~^~^~_     '
  \)  /  - -  \  ()'
    \'_   Y   _'/  '
     | '-----' |   '

       _~^~^~_     '
  ()  /  o o  \  (/'
    \'_   Y   _'/  '
     \ '-----' /   '

       _~^~^~_     '
  ()  /  o o  \  (/'
    \'_   y   _'/  '
     \ '-----' /   '

       _~^~^~_     '
  ()  /  o o  \  (/'
    \'_   y   _'/  '
     \ '-----' /   '
"; // end of FERRIS
...

Let's briefly look at some Alternative String-Trimming Methods.