X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=conout.c;h=b3380ec2f63c7fc505f0222680fded991232d4ee;hb=a6d1d4bd18323430ffc00ef6b9b579a7401c152a;hp=13a242f4041b613f539c1030bd59a6c2bcf320e1;hpb=51eb94f2510aba8bd3a5318750eb9fa7244932e2;p=xonotic%2Fgmqcc.git diff --git a/conout.c b/conout.c index 13a242f..b3380ec 100644 --- a/conout.c +++ b/conout.c @@ -248,6 +248,9 @@ void con_color(int state) { } } +bool con_color_err() { return !!console.color_err; } +bool con_color_out() { return !!console.color_out; } + void con_init() { console.handle_err = stderr; console.handle_out = stdout;