summaryrefslogtreecommitdiff
path: root/src/ConsoleStatCalc.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-12-08 18:38:30 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-12-08 18:38:30 +0900
commitbf56f3c2999bd073c952dfd20aa2c98650f6c95c (patch)
tree9e5105c18b7933078f97425aea9aa7a9948b1f64 /src/ConsoleStatCalc.h
parent9d7bb9d01af2c0ef1b748ac2e240b20439285fd4 (diff)
Check the output file is terminal or not in ctor
Diffstat (limited to 'src/ConsoleStatCalc.h')
-rw-r--r--src/ConsoleStatCalc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ConsoleStatCalc.h b/src/ConsoleStatCalc.h
index 13dd7111..f680ac5f 100644
--- a/src/ConsoleStatCalc.h
+++ b/src/ConsoleStatCalc.h
@@ -65,6 +65,7 @@ private:
SharedHandle<SizeFormatter> sizeFormatter_;
bool readoutVisibility_;
bool truncate_;
+ bool isTTY_;
public:
ConsoleStatCalc(time_t summaryInterval, bool humanReadable = true);