aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-10 13:34:46 +0200
committerDaniel Mueller <deso@posteo.net>2021-01-10 21:05:44 -0800
commit763219bc4331331351b4180d4775432e9e11f8b2 (patch)
tree1162cd1f662a2e2d2a877746fb125941b80d9fea /Cargo.toml
parentb23296e1cc47cf5350835d8a8cca6eb6f5d7d270 (diff)
downloadnitrocli-763219bc4331331351b4180d4775432e9e11f8b2.tar.gz
nitrocli-763219bc4331331351b4180d4775432e9e11f8b2.tar.bz2
Add is_tty field to Context
This patch adds the is_tty field to the Context struct that indicates whether stdout is a TTY. This allows us to use TTY features like moving the cursor in our output.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index fd057e1..ad85e4a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -61,6 +61,9 @@ features = ["derive"]
version = "0.3.17"
default-features = false
+[dependencies.termion]
+version = "1.5.5"
+
[dependencies.toml]
version = "0.5.6"