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:
parent
dae4f1bb70
commit
052d7527b6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user