curses: Fix handling of newline in description.

Authored by gniibe on Jul 9 2019, 9:23 AM.

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

Committed
gniibeJul 9 2019, 9:23 AM
Parents
rP67a7cfa12d15: curses: Fix width calculation.
Branches
Unknown
Tags
Unknown
Tasks
T4598: curses: dialog broken with wide characters