From 052d7527b6712967fa4f0efd13032b7fec851eda Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 6 Jan 2013 01:09:46 +0000 Subject: [PATCH] Call _clear_input when getting password --- src/input_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input_win.c b/src/input_win.c index 643839e9..8c1f6ac4 100644 --- a/src/input_win.c +++ b/src/input_win.c @@ -218,7 +218,7 @@ inp_get_char(char *input, int *size) void inp_get_password(char *passwd) { - wclear(inp_win); + _clear_input(); _inp_win_refresh(); noecho(); mvwgetnstr(inp_win, 0, 1, passwd, 20);