Home GnuPG

tty: Show supplied message when using default

Description

tty: Show supplied message when using default

* tty/pinentry-tty.c (fputs_highlighted): New function.
(button): Display the supplied text when falling back to default; the
default text is shown in braces and provides the accelerator.

This allows using button texts written with non-ASCII characters.

  • Signed-off-by: Ineiev <ineiev@gnu.org>

Details

Provenance
Ineiev <ineiev@gnu.org>Authored on Apr 8 2016, 2:29 PM
gniibeCommitted on Jun 10 2019, 8:47 AM
Parents
rP42c32e08d5a4: build: Update m4/iconv.m4.
Branches
Unknown
Tags
Unknown