diff --git a/README.md b/README.md index 3605f975..9a046d85 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ term.clear_line()?; ## Colors and Styles -`console` uses `clicolors-control` to control colors. It also -provides higher level wrappers for styling text and other things -that can be displayed with the `style` function and utility types. +`console` automaticaly detects when to use colors based on the tty flag. It also +provides higher level wrappers for styling text and other things that can be +displayed with the `style` function and utility types. Example usage: diff --git a/src/lib.rs b/src/lib.rs index 63c3112d..1b18afc0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -33,9 +33,9 @@ //! //! # Colors and Styles //! -//! `console` uses `clicolors-control` to control colors. It also -//! provides higher level wrappers for styling text and other things -//! that can be displayed with the `style` function and utility types. +//! `console` automaticaly detects when to use colors based on the tty flag. It also +//! provides higher level wrappers for styling text and other things that can be +//! displayed with the `style` function and utility types. //! //! Example usage: //! diff --git a/src/utils.rs b/src/utils.rs index 825158a4..d2d0c695 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -245,7 +245,7 @@ impl Style { /// Forces styling on or off. /// - /// This overrides the detection from `clicolors-control`. + /// This overrides the automatic detection. #[inline] pub fn force_styling(mut self, value: bool) -> Style { self.force = Some(value); @@ -435,7 +435,7 @@ pub struct StyledObject { impl StyledObject { /// Forces styling on or off. /// - /// This overrides the detection from `clicolors-control`. + /// This overrides the automatic detection. #[inline] pub fn force_styling(mut self, value: bool) -> StyledObject { self.style = self.style.force_styling(value);