clang format

This commit is contained in:
gabime
2023-10-01 18:01:02 +03:00
parent 754838c558
commit 57868277db
7 changed files with 31 additions and 30 deletions

View File

@@ -29,12 +29,12 @@ public:
wincolor_sink &operator=(const wincolor_sink &other) = delete;
// change the color for the given level
void set_color(level level, std::uint16_t color);
void set_color(level level, std::uint16_t color);
void set_color_mode(color_mode mode);
private:
void *out_handle_;
bool should_do_colors_;
private:
void *out_handle_;
bool should_do_colors_;
std::array<std::uint16_t, levels_count> colors_;
// set foreground color and return the orig console attributes (for resetting later)