AW: Cancel operation does not return error code

Werner Koch wk at gnupg.org
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);


Salam-Shalom,

   Werner



p.s.
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: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20220315/74f0cfc2/attachment.sig>


More information about the Gnupg-users mailing list