Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use std::io::IsTerminal instead of is_terminal #288

Merged
merged 5 commits into from
Jun 29, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ futures = "0.3.17"
gherkin = "0.13"
globwalk = "0.8.1"
humantime = "2.1"
is-terminal = "0.4.4"
itertools = "0.10"
lazy-regex = "2.5"
linked-hash-map = "0.5.3"
Expand Down
7 changes: 5 additions & 2 deletions src/writer/out.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@

//! Tools for writing output.

use std::{borrow::Cow, io, mem, str};
use std::{
borrow::Cow,
io::{self, IsTerminal},
mem, str,
};

use console::Style;
use derive_more::{Deref, DerefMut, Display, From, Into};
use is_terminal::IsTerminal;

use super::Coloring;

Expand Down