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

Do not update UI whilst receiving password

This commit is contained in:
James Booth 2015-06-25 00:33:28 +01:00
parent 524c7a8671
commit fed55b5459

View File

@ -246,15 +246,8 @@ inp_get_password(void)
get_password = TRUE; get_password = TRUE;
while (!password) { while (!password) {
password = inp_readline(); password = inp_readline();
ui_update();
werase(inp_win);
wmove(inp_win, 0, 0);
pad_start = 0;
_inp_win_update_virtual();
doupdate();
} }
get_password = FALSE; get_password = FALSE;
status_bar_clear(); status_bar_clear();
return password; return password;
} }