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

Chet Ramey <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs,gmane.comp.gnu.readline
Organization ITS, Case Western Reserve University
Message-ID <[email protected]>
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/
OpenPGP_signature.asc (application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCanoPBAUDAAAAAAAKCRC7WGnwZOp0q5NH
AJ93pMb0eaqiWfII7XCwcKBFhiC8BgCggorobZHBRPJJYNEe2+2YdKKVbsM=
=SxPI
-----END PGP SIGNATURE-----
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.