Re: readline 8.3: cursor misplaced inside prompt after terminal widening
From:
Lucas Grigolon Varela
Subject:
Re: readline 8.3: cursor misplaced inside prompt after terminal widening, when the prompt has 2+ invisible-character runs
Date:
Tue, 11 Aug 2026 01:57:01 +0200
Hey Chet,
Sorry. This is indeed already fixed in devel by commit 1e9f5e10b2.
Regards,
Lucas
Em seg., 10 de ago. de 2026 às 19:48, Chet Ramey <chet.ramey@case.edu> escreveu:
>
> On 8/10/26 12:05 PM, Lucas Grigolon Varela wrote:
> > Configuration Information:
> >
> > Readline version: 8.3-release
> > Machine: x86_64
> > OS: linux-gnu (Fedora 44)
> > Compilation flags: stock "./configure" from the GNU tarball, no options,
> > default CFLAGS (-g -O2), gcc 15
> > Also observed via: bash 5.3.9(1)-release (x86_64-redhat-linux-gnu), and
> > with
> > the distribution's readline at 8.3 patchlevel 3
> >
> > Still present with the published 8.3 patches: readline83-002 is the only one
> > touching display.c, and with it applied the behaviour is unchanged. The
> > condition discussed below is also still present, unmodified, in the current
> > development sources.
>
> This seems very similar to
>
>https://lists.gnu.org/archive/html/bug-bash/2026-05/msg00065.html
>
> which was fixed back in May, using much the same change you propose.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/