summaryrefslogtreecommitdiffstats
path: root/account.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2005-08-07 04:58:12 +0000
committerBrendan Cully <brendan@kublai.com>2005-08-07 04:58:12 +0000
commit68833d5d6a80cf9e88d5e335285ca381cd865c3e (patch)
treeda93eb84a158bff54f45c0c9f538cc2f40b8fe4f /account.c
parent75de71a3db6ad4a5bf95169d98e9d782d61556cc (diff)
Make username prompts unbuffered like password prompts are (no more
folder-hook push garbage)
Diffstat (limited to 'account.c')
-rw-r--r--account.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.c b/account.c
index 13a02a71..99146629 100644
--- a/account.c
+++ b/account.c
@@ -153,7 +153,7 @@ int mutt_account_getuser (ACCOUNT* account)
{
snprintf (prompt, sizeof (prompt), _("Username at %s: "), account->host);
strfcpy (account->user, NONULL (Username), sizeof (account->user));
- if (mutt_get_field (prompt, account->user, sizeof (account->user), 0))
+ if (mutt_get_string_unbuffered (prompt, account->user, sizeof (account->user), 0))
return -1;
}