Use the is-terminal crate instead of atty

The crate is already used by `clap` and a similar trait is about to be
stabilized in `std`.
This commit is contained in:
Constantin Nickel committed 2023-04-05 19:26:52 +02:00
1 parent 1b2c69aee8
commit 57cc0d8435
3 files changed
+6 -6

No files matched your search

Generated
+1 -1
View File
@@ -69,7 +69,6 @@ version = "0.23.0"
dependencies = [
"ansi_colours",
"assert_cmd",
"atty",
"bincode",
"bugreport",
"bytesize",
@@ -84,6 +83,7 @@ dependencies = [
"git2",
"globset",
"grep-cli",
"is-terminal",
"nix",
"nu-ansi-term",
"once_cell",