Hello, readline. I'm using readline 8.3_p3 and bash 5.3.9(1)-release on Linux 6.18.18, with an up-to-date Gentoo GNU/Linux.
Background: I am trying to enhance the Linux virtual terminal to handle full-width glyphs. A problem I encountered with (probably) readline is reproducible on a release kernel: To reproduce: (i) At the bash command line, type (with auto-repeat) any character almost to the end of the screen line (240 columns in my case). (ii) Insert a full width character, for example U+2614 (UMBRELLA WITH RAIN DROPS) by holding <AltGr> and typing "2614" on the numeric keypad. This will be displayed as an inverse-video question mark followed by a space. (iii) Type "abc" directly after this full width character. "c" should be the last character on the line. (iv) Type <Ctrl-a>, and type further characters or press <Delete> until the U+2614's ? is at the right edge of the screen. The "abc" will be on a continuation line. (v) Type <Ctrl-e> to go to EOL. There is a spurious space between the "c" and the cursor. This looks like a bug. -- Alan Mackenzie (Nuremberg, Germany).
