Patch for PR gnupg/199

Todd Vierling tv@pobox.com
Wed Aug 27 11:52:09 2003


On Sat, 23 Aug 2003, Bernd Eckenfels wrote:

: > +  /* flush key list before displaying prompt */
: > +  fflush(stdout);
: > +
: >    answer=cpr_get_no_help("keysearch.prompt",
: >  			 _("Enter number(s), N)ext, or Q)uit > "));
:
: wouldnt it be much better to add that flush to the prompt function itself?

Well, that depends on what the flush is intending to address.  (In other
words, I haven't checked if this particular situation affects other prompts
that use cpr_get_no_help(); I only fixed the one for --search-keys, which
is nearly always a pick-from-list menu.)

"Whatever works" is fine with me.

-- 
-- Todd Vierling <tv@pobox.com>