Simplify color & banner logic

This commit is contained in:
Philippe Teuwen committed 2019-04-30 13:02:27 +02:00
1 parent a91d0a7b19
commit 0a4b90ac20
12 files changed
+77 -72

No files matched your search

+8
View File
@@ -24,6 +24,14 @@
#include <complex.h>
#include "util.h"
typedef struct {
bool stdinOnTTY;
bool stdoutOnTTY;
bool supports_colors;
} session_arg_t;
extern session_arg_t session;
#ifndef M_PI
#define M_PI 3.14159265358979323846264338327
#endif