Skip to content

Commit 357ca1d

Browse files
committed
Remove mention of not used clicolors-control
1 parent b577923 commit 357ca1d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ term.clear_line()?;
3939

4040
## Colors and Styles
4141

42-
`console` uses `clicolors-control` to control colors. It also
43-
provides higher level wrappers for styling text and other things
44-
that can be displayed with the `style` function and utility types.
42+
`console` automaticaly detects when to use colors based on the tty flag. It also
43+
provides higher level wrappers for styling text and other things that can be
44+
displayed with the `style` function and utility types.
4545

4646
Example usage:
4747

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
//!
3434
//! # Colors and Styles
3535
//!
36-
//! `console` uses `clicolors-control` to control colors. It also
37-
//! provides higher level wrappers for styling text and other things
38-
//! that can be displayed with the `style` function and utility types.
36+
//! `console` automaticaly detects when to use colors based on the tty flag. It also
37+
//! provides higher level wrappers for styling text and other things that can be
38+
//! displayed with the `style` function and utility types.
3939
//!
4040
//! Example usage:
4141
//!

src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl Style {
245245

246246
/// Forces styling on or off.
247247
///
248-
/// This overrides the detection from `clicolors-control`.
248+
/// This overrides the automatic detection.
249249
#[inline]
250250
pub fn force_styling(mut self, value: bool) -> Style {
251251
self.force = Some(value);
@@ -435,7 +435,7 @@ pub struct StyledObject<D> {
435435
impl<D> StyledObject<D> {
436436
/// Forces styling on or off.
437437
///
438-
/// This overrides the detection from `clicolors-control`.
438+
/// This overrides the automatic detection.
439439
#[inline]
440440
pub fn force_styling(mut self, value: bool) -> StyledObject<D> {
441441
self.style = self.style.force_styling(value);

0 commit comments

Comments
 (0)