aboutsummaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorBartosz Fenski <fenio@debian.org>2005-04-10 17:49:12 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:17 +0200
commitc0c082a2ae42634de739f06d04c340227e11e12d (patch)
tree12b0d34c1a6173b80b031ef525de0b286acae783 /CRT.c
parentcab1cce64224b9e09f6bed86c13345eb9cdb5e7e (diff)
parentc868e3f8d629e1caddff1a51a7d2dd04f49994a3 (diff)
downloaddebian_htop-c0c082a2ae42634de739f06d04c340227e11e12d.tar.gz
debian_htop-c0c082a2ae42634de739f06d04c340227e11e12d.tar.bz2
debian_htop-c0c082a2ae42634de739f06d04c340227e11e12d.zip
Imported Debian patch 0.5.1-1debian/0.5.1-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