diff options
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -7,19 +7,17 @@ in the source distribution for its full text. #include "CRT.h" +#include "config.h" +#include "String.h" +#include "debug.h" + #include <curses.h> #include <signal.h> #include <stdlib.h> -#include <stdbool.h> #ifdef HAVE_EXECINFO_H #include <execinfo.h> #endif -#include "String.h" - -#include "config.h" -#include "debug.h" - #define ColorPair(i,j) COLOR_PAIR((7-i)*8+j) #define COLORSCHEME_DEFAULT 0 @@ -40,9 +38,8 @@ in the source distribution for its full text. //#link curses -bool CRT_hasColors; - /*{ +#include <stdbool.h> typedef enum ColorElements_ { RESET_COLOR, @@ -112,6 +109,8 @@ typedef enum ColorElements_ { // TODO: centralize these in Settings. +static bool CRT_hasColors; + int CRT_delay = 0; int CRT_colorScheme = 0; |