aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui.c2
-rw-r--r--ui.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 9681170..92a83b0 100644
--- a/ui.c
+++ b/ui.c
@@ -262,7 +262,7 @@ do_ui(void)
return (DOUI_ERR);
}
sem_wait(&sem_rdy);
- wtimeout(wnd_main, 500);
+ wtimeout(wnd_main, 1000);
while (active == true) {
if ((key = wgetch(wnd_main)) == '\0') {
break;
diff --git a/ui.h b/ui.h
index df7e6b8..91e0b27 100644
--- a/ui.h
+++ b/ui.h
@@ -12,6 +12,7 @@
#define DOUI_OK 0
#define DOUI_ERR 1
#define DOUI_TMOUT 2
+#define DOUI_PASSWD 3
#define UILOOP_TIMEOUT 1