AW: Cancel operation does not return error code

Werner Koch wk at
Tue Mar 15 12:50:30 CET 2022

> I'm using the Cancel methods on ctrl+c but the terminal is anyway messed up.
> Would it be worth a bug report?

No. The pinentry is background process and there is no portable way to
save and restore the screen.  Thus your application may want to do
something like this after a gpgme operation:

  if ((s = gpgme_get_ctx_flag (ctx, "redraw")) && *s)
    fputs ("Screen redraw suggested\n", stdout);



Please trim your quotes to make them easier for everyone to read.  

Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list