From d8c410d289bcb42982db21660ca30462cff894cf Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 1 Jul 2015 21:00:31 +0100 Subject: Don't write chars during password input --- src/ui/inputwin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 2499f20a..1ea46984 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -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); -- cgit 1.4.1-2-gfad0