Re: readline 8.3: cursor misplaced inside prompt after terminal widening, when the prompt has 2+ invisible-character runs

Lucas Grigolon Varela <[email protected]>
Newsgroups gmane.comp.gnu.readline,gmane.comp.shells.bash.bugs
Message-ID <CAM5A45TuNd5vJWLdmy-8LyYVqBGuiTEMGeC=4R58KR6oJMJVmA@mail.gmail.com>
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 <[email protected]> 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    [email protected]    http://tiswww.cwru.edu/~chet/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.