minimo 0.5.42

terminal ui library combining alot of things from here and there and making it slightly easier to play with
Documentation
use std::thread;

use crossterm::style::Color;
use minimo::{ask::*, ask_date, ask_datetime_location, ask_location, location, moment, progress_bar, ProgressStyle };
use minimo::Dot;

fn main() -> Result<(), Box<dyn std::error::Error>> {

    let bar = progress_bar!("something",100);
    let bar = bar.with_style(
        ProgressStyle{
            bar_chars: "".to_string(),
            empty_chars: " ".to_string(),
            prefix: "Processing".to_string(),
            suffix: "done".to_string(),
            colors: vec![Color::Red, Color::Green]
        }
    );
    let bar2 = progress_bar!("something2",100);
    for i in 0..100 {
        bar.increment(1);
        bar.set_message(format!("Processing item {}", i));
        thread::sleep(std::time::Duration::from_millis(50));

    }
    bar.finish();
    for i in 0..100 {
        bar2.increment(1);
        bar2.set_message(format!("Processing item {}", i));
        thread::sleep(std::time::Duration::from_millis(50));
    }

    bar2.finish();
 

    let loc = ask_location!("enter location");
    println!("You entered location: {}", loc);

    let d = ask_date!("enter date");
    println!("You entered date: {}", d);

        let (datetime,location) = ask_datetime_location!("Enter a date and time") ;
    println!("You entered date: {} and location: {}", datetime, location);
 
    Ok(())
}