aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index c0a3288..7c04154 100644
--- a/main.c
+++ b/main.c
@@ -117,7 +117,7 @@ static void clear_pw_status(WINDOW *wnd, size_t len)
mvwprintw(wnd, starty, startx-2, "%s", buf);
wmove(wnd, cury, curx);
curs_set(1);
- pthread_mutex_lock(&ncbsy);
+ pthread_mutex_unlock(&ncbsy);
}
static void clear_pw_input(WINDOW *wnd)