aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoni <toni@devlap.local>2014-12-23 21:23:14 +0100
committertoni <toni@devlap.local>2014-12-23 21:23:14 +0100
commit7653a81207250f8758433cde49b270e5e6cd19e6 (patch)
tree7c5060ff97df86064f424c11dc30931e252ca291
parent580c7a2b483465310164d0928087244ea15d111b (diff)
parent9cc0432011cda38870e7e8e9b082265ffbe24dbf (diff)
Merge branch 'master' of github.com:freecoding/naskpass
Conflicts: ui.c
-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