diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-12-08 18:38:30 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-12-08 18:38:30 +0900 |
| commit | bf56f3c2999bd073c952dfd20aa2c98650f6c95c (patch) | |
| tree | 9e5105c18b7933078f97425aea9aa7a9948b1f64 /src/ConsoleStatCalc.h | |
| parent | 9d7bb9d01af2c0ef1b748ac2e240b20439285fd4 (diff) | |
Check the output file is terminal or not in ctor
Diffstat (limited to 'src/ConsoleStatCalc.h')
| -rw-r--r-- | src/ConsoleStatCalc.h | 1 |
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); |
