Commits

Michael Elkins  committed 77f7300

clear prompt when user cancels with ^G from a yes/no prompt

  • Participants
  • Parent commits 25b694a
  • Branches HEAD

Comments (0)

Files changed (1)

     addstr ((char *) (def == M_YES ? yes : no));
     mutt_refresh ();
   }
+  else
+  {
+    /* when the users cancels with ^G, clear the message stored with
+     * mutt_message() so it isn't displayed when the screen is refreshed. */
+    mutt_clear_error();
+  }
   return (def);
 }