color-output 8.2.9

An atomic output library based on Rust that supports output functionalities through functions, builders, and other methods. It allows customization of text and background colors.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[test]

fn test_task() {
    use crate::*;
    use task::r#struct::Task;
    use text::r#struct::Text;
    let mut task: Task<'_> = Task::default();
    task.add(Text::default()).add(Text {
        text: "1",
        ..Text::default()
    });
    task.run_all();
    println!("{task:?}");
}