From 28c3000c7a077146729bcb92335e1218ecf932d6 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Tue, 17 Mar 2009 16:44:47 +0100 Subject: [PATCH] Ensure display is redrawn for application/pgp When using gpg-agent, a hard redraw is needed after the pinentry program is called. Otherwise, the screen is garbled and key bindings are screwed up. Closes #3196. --- ChangeLog | 10 ++++++++++ pgp.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8177e413..755e7248 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-03-15 16:44 +0100 Rocco Rutte (bc7c64ff3e48) + + * configure.ac, protos.h, wcscasecmp.c: Add wcscasecmp() compatibility + function (for OS X) + +2009-03-15 16:39 +0100 Rocco Rutte (2b286d58647b) + + * ChangeLog, doc/mutt.man: mutt.1: Mention that -a should be last in + option list. Closes #3202 + 2009-03-15 16:38 +0100 Rocco Rutte (650829e3eb06) * alias.c: Only define min() if not present. Closes #3199 diff --git a/pgp.c b/pgp.c index 8835d9ae..7b539686 100644 --- a/pgp.c +++ b/pgp.c @@ -390,6 +390,8 @@ int pgp_application_pgp_handler (BODY *m, STATE *s) state_attach_puts (_("[-- End of PGP output --]\n\n"), s); } + if (pgp_use_gpg_agent()) + mutt_need_hard_redraw (); } /* treat empty result as sign of failure */ -- 2.40.0