Merge pull request #1022 from floouuu/v1.x

Expose should_do_colors_ in ansicolor_sink.h
This commit is contained in:
Gabi Melman 2019-03-11 19:12:03 +02:00 committed by GitHub
commit e2805ac68a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,6 +133,11 @@ public:
formatter_ = std::move(sink_formatter);
}
bool should_color()
{
return should_do_colors_;
}
private:
void print_ccode_(const std::string &color_code)
{