From: Thomas Roessler Date: Wed, 11 Dec 2002 22:23:42 +0000 (+0000) Subject: Call endwin() before calling PGP for traditional encryption. X-Git-Tag: mutt-1-5-3-rel~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a1f83f1bfbc78f6a532b739bf170350c506cd82;p=mutt Call endwin() before calling PGP for traditional encryption. --- diff --git a/crypt.c b/crypt.c index 30e06ccf..d25193ce 100644 --- a/crypt.c +++ b/crypt.c @@ -189,10 +189,10 @@ int mutt_protect (HEADER *msg, char *keylist) } if (traditional) { - mutt_message _("Invoking PGP..."); + if (!isendwin ()) mutt_endwin _("Invoking PGP..."); if (!(pbody = pgp_traditional_encryptsign (msg->content, flags, keylist))) return -1; - + msg->content = pbody; return 0; }