mirror of
https://github.com/hasherezade/pe-sieve
synced 2026-06-08 14:34:52 +00:00
10 lines
286 B
C++
10 lines
286 B
C++
#include "console_color.h"
|
|
#include <iostream>
|
|
#include <paramkit.h>
|
|
|
|
void pesieve::util::print_in_color(int color, const std::string & text, bool is_error)
|
|
{
|
|
int descriptor = is_error ? STD_ERROR_HANDLE : STD_OUTPUT_HANDLE;
|
|
paramkit::print_in_color(color, text, descriptor);
|
|
}
|