Unverified Commit e2805ac6 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #1022 from floouuu/v1.x

Expose should_do_colors_ in ansicolor_sink.h
parents bdfc7d2a 1caf05cc
...@@ -133,6 +133,11 @@ public: ...@@ -133,6 +133,11 @@ public:
formatter_ = std::move(sink_formatter); formatter_ = std::move(sink_formatter);
} }
bool should_color()
{
return should_do_colors_;
}
private: private:
void print_ccode_(const std::string &color_code) void print_ccode_(const std::string &color_code)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment