aboutsummaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
commite2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 (patch)
treec4e410dd878ceed9fc058d14bad8011b423212fe /CRT.c
parenteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff)
downloaddebian_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.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/CRT.c b/CRT.c
index 949b543..621adfc 100644
--- a/CRT.c
+++ b/CRT.c
@@ -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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy