Home GnuPG

curses: Fix handling of newline in description.

Description

curses: Fix handling of newline in description.

* pinentry/pinentry-curses.c (collect_line): LEN including the
newline/null character.
(dialog_create): Fix the caluculation.
  • GnuPG-bug-id: T4598
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 9 2019, 9:23 AM
Parents
rP67a7cfa12d15: curses: Fix width calculation.
Branches
Unknown
Tags
Unknown
Tasks
T4598: curses: dialog broken with wide characters