diff options
Diffstat (limited to 'curs_lib.c')
-rw-r--r-- | curs_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -138,14 +138,14 @@ int _mutt_get_field (/* const */ char *field, char *buf, size_t buflen, int comp return (ret); } -int mutt_get_password (char *msg, char *buf, size_t buflen) +int mutt_get_string_unbuffered (char *msg, char *buf, size_t buflen, int flags) { int rc; CLEARLINE (LINES-1); addstr (msg); set_option (OPTUNBUFFEREDINPUT); - rc = mutt_enter_string (buf, buflen, LINES - 1, mutt_strlen (msg), M_PASS); + rc = mutt_enter_string (buf, buflen, LINES - 1, mutt_strlen (msg), flags); unset_option (OPTUNBUFFEREDINPUT); CLEARLINE (LINES-1); return (rc); |