From c78ab9e66970803e17a688990e3c30722d9c97cc Mon Sep 17 00:00:00 2001 From: Balaji Sivaraman Date: Tue, 20 Feb 2018 17:41:25 +0530 Subject: [PATCH] termcolor: improve "intense" docs Fixes #797 --- termcolor/src/lib.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/termcolor/src/lib.rs b/termcolor/src/lib.rs index f1c36cb..7b90851 100644 --- a/termcolor/src/lib.rs +++ b/termcolor/src/lib.rs @@ -1269,9 +1269,23 @@ impl ColorSpec { } /// Get whether this is intense or not. + /// + /// On Unix-like systems, this will output the ANSI escape sequence + /// that will print a high-intensity version of the color + /// specified. + /// + /// On Windows systems, this will output the ANSI escape sequence + /// that will print a brighter version of the color specified. pub fn intense(&self) -> bool { self.intense } /// Set whether the text is intense or not. + /// + /// On Unix-like systems, this will output the ANSI escape sequence + /// that will print a high-intensity version of the color + /// specified. + /// + /// On Windows systems, this will output the ANSI escape sequence + /// that will print a brighter version of the color specified. pub fn set_intense(&mut self, yes: bool) -> &mut ColorSpec { self.intense = yes; self