diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:30 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:30 +0200 |
commit | e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 (patch) | |
tree | c4e410dd878ceed9fc058d14bad8011b423212fe /CRT.c | |
parent | eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff) | |
download | debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.tar.gz debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.tar.bz2 debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.zip |
Imported Upstream version 1.0.1upstream/1.0.1
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -7,19 +7,16 @@ in the source distribution for its full text. #include "CRT.h" +#include "config.h" +#include "String.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 +37,8 @@ in the source distribution for its full text. //#link curses -bool CRT_hasColors; - /*{ +#include <stdbool.h> typedef enum ColorElements_ { RESET_COLOR, @@ -112,6 +108,8 @@ typedef enum ColorElements_ { // TODO: centralize these in Settings. +static bool CRT_hasColors; + int CRT_delay = 0; int CRT_colorScheme = 0; |