1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Don't write chars during password input

This commit is contained in:
James Booth 2015-07-01 21:00:31 +01:00
parent 446f5f0aa1
commit d8c410d289

View File

@ -159,7 +159,9 @@ inp_readline(void)
}
ui_reset_idle_time();
_inp_write(rl_line_buffer, rl_point);
if (!get_password) {
_inp_write(rl_line_buffer, rl_point);
}
inp_nonblocking(TRUE);
} else {
inp_nonblocking(FALSE);