18 static const unsigned black;
19 static const unsigned red;
20 static const unsigned green;
21 static const unsigned yellow;
22 static const unsigned blue;
23 static const unsigned magenta;
24 static const unsigned cyan;
25 static const unsigned white;
26 static const unsigned bright;
35 Restore(Terminal& term);
41 Restore set_color(
int fg,
int bg);
45 std::string color(
int fg,
int bg,
const std::string& s);
46 std::string color_fg(
int col,
const std::string& s);
47 std::string color_bg(
int col,
const std::string& s);
49 operator FILE*() {
return out; }
Contrl terminal output.
Definition term.h:14