1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Call _clear_input when getting password

This commit is contained in:
James Booth 2013-01-06 01:09:46 +00:00
parent dae4f1bb70
commit 052d7527b6

View File

@ -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);