ruskin 0.1.0

Inputs no terminal do jeito que deveriam ser em Rust.
Documentation
use std::io::{self, Write};
const RESET: &str = "\x1b[0m";
const RED: &str = "\x1b[31m";
const GRAY: &str = "\x1b[90m";

pub fn prompt_u64(prompt: &str) -> u64{
     let mut input_user = String::new();
     loop{
          input_user.clear();
          println!("{}[only positive numbers]{}",GRAY,RESET);
          print!("{}:",prompt);
          //forcing the user's text to appear on the screen
          io::stdout().flush().expect("Error displaying your buffer.");
          //Read the line that the user typed and saved in the variable.
          io::stdin().read_line(&mut input_user).expect("Error in text input.");

   match input_user.trim().parse::<u64>(){
      Ok(n) => return n,
      Err(_) => {
           println!(" {}->{} {} {}is not a valid number! Try again.{}",RED,RESET,input_user.trim(),RED,RESET);
     }
    }
  };
}