diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 08fdd67..ebffc43 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,11 +3,7 @@ - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -96,7 +142,6 @@ @@ -147,6 +193,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -291,10 +360,11 @@ - + @@ -309,7 +379,7 @@ - + @@ -318,11 +388,32 @@ + + + + + + + + + + + + + + + + + + + + + @@ -464,8 +555,9 @@ - - + + + @@ -519,27 +611,7 @@ - - - - - - - - - - - - - - - - - - - - - + @@ -554,13 +626,6 @@ - - - - - - - @@ -582,14 +647,6 @@ - - - - - - - - @@ -613,7 +670,6 @@ - @@ -621,7 +677,6 @@ - @@ -687,7 +742,39 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/color/mod.rs b/examples/color/mod.rs index b5c525d..380bd2b 100644 --- a/examples/color/mod.rs +++ b/examples/color/mod.rs @@ -97,6 +97,10 @@ pub fn print_all_background_colors() println!("Dark Cyan : \t {}", paint(" ").on(Color::DarkCyan)); println!("Grey : \t\t {}", paint(" ").on(Color::Grey)); println!("White : \t {}", paint(" ").on(Color::White)); + #[cfg(unix)] + println!("RGB (10,10,10): \t {}", paint(" ").on(Color::Rgb {r: 10, g: 10, b: 10})); + #[cfg(unix)] + println!("RGB (10,10,10): \t {}", paint(" ").on(Color::AnsiValue(50))); } /// Print font with all available attributes. Note that this can only be used at unix systems and that some are not supported widely.