aboutsummaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:16 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:16 +0200
commitc868e3f8d629e1caddff1a51a7d2dd04f49994a3 (patch)
treedee0881088acc628312dcaaff8209184f4a2560b /CRT.c
parentd3c9975943df58e293359b87905d19ff1fd52061 (diff)
downloaddebian_htop-c868e3f8d629e1caddff1a51a7d2dd04f49994a3.tar.gz
debian_htop-c868e3f8d629e1caddff1a51a7d2dd04f49994a3.tar.bz2
debian_htop-c868e3f8d629e1caddff1a51a7d2dd04f49994a3.zip
Imported Upstream version 0.5.1upstream/0.5.1
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/CRT.c b/CRT.c
index 6c2149c..b4651e0 100644
--- a/CRT.c
+++ b/CRT.c
@@ -92,11 +92,16 @@ typedef enum ColorElements_ {
LAST_COLORELEMENT
} ColorElements;
+extern int CRT_delay;
+
extern int CRT_colors[LAST_COLORELEMENT];
}*/
/* private property */
+int CRT_delay;
+
+/* private property */
int CRT_colors[LAST_COLORELEMENT];
void CRT_init() {
@@ -254,7 +259,7 @@ int CRT_readKey() {
nocbreak();
cbreak();
int ret = getch();
- halfdelay(MIN_UPDATE_SLICE);
+ halfdelay(CRT_delay);
return ret;
}

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