mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-20 23:34:30 +03:00

It needs to be trimmed and substituted with a single-width placeholder to prevent the continuation character ">" from getting pushed to the next row. Also, use the correct width for the answer so that the continuation character is only displayed when the answer does not fit any more. This fixes https://savannah.gnu.org/bugs/?55620. Reported-by: David Lawrence Ramsey <pooka109@gmail.com> Original-patch-by: David Lawrence Ramsey <pooka109@gmail.com>