summaryrefslogtreecommitdiff
path: root/cli/Cargo.toml
diff options
context:
space:
mode:
authorJohannes Wolf <519002+johannes-wolf@users.noreply.github.com>2023-05-19 16:47:25 +0200
committerGitHub <noreply@github.com>2023-05-19 16:47:25 +0200
commit42f1586880d323442d7bf7cc2ec7bec70375b4d8 (patch)
tree4466ebe6b1060efa35ba2c5197e74025d7f7b28e /cli/Cargo.toml
parent42c3a6fa72be91c115e28e3866012b95b4d63cf4 (diff)
cli: Emit escape codes only if output is a tty (#1188)
Diffstat (limited to 'cli/Cargo.toml')
-rw-r--r--cli/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 8f90c3aa..ad08d99b 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -22,6 +22,7 @@ doc = false
[dependencies]
typst = { path = ".." }
typst-library = { path = "../library" }
+atty = "0.2"
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
clap = { version = "4.2.4", features = ["derive", "env"] }
codespan-reporting = "0.11"