diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-12-08 21:48:18 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-12-08 21:48:18 +0900 |
| commit | e86fd44dc5a87d64efc18652b2833ae17b72bf10 (patch) | |
| tree | 557a4e62c7feb46e64c87aaeee6724ed207ee13c /src/OutputFile.h | |
| parent | 9a5fff0de095078932e2878338acaa12a5c9daa3 (diff) | |
Console color output
Log level and download result string is now colored.
Diffstat (limited to 'src/OutputFile.h')
| -rw-r--r-- | src/OutputFile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OutputFile.h b/src/OutputFile.h index 66d1e729..ba0ccb3f 100644 --- a/src/OutputFile.h +++ b/src/OutputFile.h @@ -47,6 +47,8 @@ public: virtual size_t write(const char* str) = 0; virtual int printf(const char* format, ...) = 0; virtual int flush() = 0; + // Returns true if the output medium supports ANSI color codes. + virtual bool supportsColor() = 0; }; } // namespace aria2 |
