snprintf (prompt, sizeof (prompt), "%s: ", interaction->prompt);
resp[0] = '\0';
- if (mutt_get_field (prompt, resp, sizeof (resp), 0))
+ if (option (OPTNOCURSES) || mutt_get_field (prompt, resp, sizeof (resp), 0))
return SASL_FAIL;
interaction->len = mutt_strlen (resp)+1;