From 4f9fe856a25ab29345b90e7725509e9ee38a37be Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:41 +0200 Subject: Adding upstream version 1.69.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/ansi_term/examples/basic_colours.rs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 vendor/ansi_term/examples/basic_colours.rs (limited to 'vendor/ansi_term/examples/basic_colours.rs') diff --git a/vendor/ansi_term/examples/basic_colours.rs b/vendor/ansi_term/examples/basic_colours.rs deleted file mode 100644 index ba8815621..000000000 --- a/vendor/ansi_term/examples/basic_colours.rs +++ /dev/null @@ -1,18 +0,0 @@ -extern crate ansi_term; -use ansi_term::{Style, Colour::*}; - -// This example prints out the 16 basic colours. - -fn main() { - let normal = Style::default(); - - println!("{} {}", normal.paint("Normal"), normal.bold().paint("bold")); - println!("{} {}", Black.paint("Black"), Black.bold().paint("bold")); - println!("{} {}", Red.paint("Red"), Red.bold().paint("bold")); - println!("{} {}", Green.paint("Green"), Green.bold().paint("bold")); - println!("{} {}", Yellow.paint("Yellow"), Yellow.bold().paint("bold")); - println!("{} {}", Blue.paint("Blue"), Blue.bold().paint("bold")); - println!("{} {}", Purple.paint("Purple"), Purple.bold().paint("bold")); - println!("{} {}", Cyan.paint("Cyan"), Cyan.bold().paint("bold")); - println!("{} {}", White.paint("White"), White.bold().paint("bold")); -} -- cgit v1.2.3