BEEP (); SETCOLOR (MT_COLOR_ERROR); mvaddstr (LINES-1, 0, Errorbuf); clrtoeol (); SETCOLOR (MT_COLOR_NORMAL); mutt_refresh ();
if (!option (OPTKEEPQUIET)) { BEEP (); SETCOLOR (MT_COLOR_ERROR); mvaddstr (LINES-1, 0, Errorbuf); clrtoeol (); SETCOLOR (MT_COLOR_NORMAL); mutt_refresh (); }
void mutt_curses_error (const char *fmt, ...){  va_list ap;  va_start (ap, fmt);  vsnprintf (Errorbuf, sizeof (Errorbuf), fmt, ap);  va_end (ap);    dprint (1, (debugfile, "%s\n", Errorbuf));  Errorbuf[ (COLS < sizeof (Errorbuf) ? COLS : sizeof (Errorbuf)) - 2 ] = 0;  clean_error_buf();  BEEP ();  SETCOLOR (MT_COLOR_ERROR);  mvaddstr (LINES-1, 0, Errorbuf);  clrtoeol ();  SETCOLOR (MT_COLOR_NORMAL);  mutt_refresh ();  set_option (OPTMSGERR);}