aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoni <toni@devlap.local>2014-10-20 15:43:52 +0200
committertoni <toni@devlap.local>2014-10-20 15:43:52 +0200
commit0e5470619a8d2054db56f2154f68c7f77502bb83 (patch)
tree64317537dc1f647e6c815df3c47b69588f2d9b29
parentca0f3dbd0998b28a581843e3675e8b458024bf47 (diff)
disabled cursor after return key pressed
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 7c04154..e9627f9 100644
--- a/main.c
+++ b/main.c
@@ -294,6 +294,7 @@ again:
}
}
+ curs_set(0);
asprintf(&cmd, "echo '%s' | %s 2>/dev/null >/dev/null", pass, argv[1]);
switch ((ret = system(cmd))) {
case RET_OK: