termo 0.16.0

yet another terminal ui framework
Documentation
use crate::colors::Colorable;


//divider of different colors and sizes
pub fn draw(seq : &str , color : &str , size : usize){
    let mut s = String::new();
    for _ in 0..size {
        s.push_str(seq);
    }
    println!("{}",s.color(color));
}

pub fn divider(){
    draw("","grey",80);
}

pub fn divider_half(){
    draw("","grey",40);
}

pub fn divider_quarter(){
    draw("","grey",20);
}

pub fn divider_double(){
    draw("","grey",80);
}

pub fn divider_red(){
    draw("","red",80);
}

pub fn divider_funky(){
   //each char is a different color

    let colors = vec!["red","green","yellow","blue","magenta","cyan","white"];
//borrow safely from colors
    for i in 0..colors.len() {
        let c = colors[i];
        let mut s = String::new();
        for _ in 0..10 {
            s.push_str("");
        }
        println!("{}",s.color(c));
    }

    
}