Home GnuPG

curses: Add SETREPEATOK and quality bar colors.

Description

curses: Add SETREPEATOK and quality bar colors.

* pinentry/pinentry.h (struct pinentry): Add string and color members.
* pinentry/pinentry.c (cmd_setrepeatok): New.
* pinentry/pinentry-curses.c (draw_error): Handle repeat strings and
  colors depending on match.
(dialog_run): Init colors.
(dialog_input): Update quality bar using color pairs.
  • Signed-off-by: Ben Kibbey <bjk@luxsci.net>

Details

Provenance
bjkAuthored on Mar 4 2023, 6:31 AM
Parents
rP3a7eaa2262f9: curses: Fix line graphics with error string present.
Branches
Unknown
Tags
Unknown