tAfter plumbing, wait for 1 sec instead of awaiting a keypress - sacc - simple console gopher client
(HTM) git clone git://src.adamsgaard.dk/sacc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 8f16ceadb2844a207ef67d2ff4d6664e74a5248f
(DIR) parent 7f2e86d875364e7828b2af55721e784ca0de5298
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 28 Feb 2020 09:21:03 +0100
After plumbing, wait for 1 sec instead of awaiting a keypress
Diffstat:
M ui_ti.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/ui_ti.c b/ui_ti.c
t@@ -161,7 +161,7 @@ uistatus(char *fmt, ...)
putp(tparm(restore_cursor, 0, 0, 0, 0, 0, 0, 0, 0, 0));
fflush(stdout);
- getchar();
+ sleep(1);
}
static void