mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 15:06:21 +00:00
Call _clear_input when getting password
This commit is contained in:
@@ -218,7 +218,7 @@ inp_get_char(char *input, int *size)
|
|||||||
void
|
void
|
||||||
inp_get_password(char *passwd)
|
inp_get_password(char *passwd)
|
||||||
{
|
{
|
||||||
wclear(inp_win);
|
_clear_input();
|
||||||
_inp_win_refresh();
|
_inp_win_refresh();
|
||||||
noecho();
|
noecho();
|
||||||
mvwgetnstr(inp_win, 0, 1, passwd, 20);
|
mvwgetnstr(inp_win, 0, 1, passwd, 20);
|
||||||
|
|||||||
Reference in New Issue
Block a user