Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15648 > unrolled thread
| Started by | L A Walsh <bash@tlinx.org> |
|---|---|
| First post | 2019-11-25 18:29 -0800 |
| Last post | 2019-11-25 18:29 -0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue L A Walsh <bash@tlinx.org> - 2019-11-25 18:29 -0800
| From | L A Walsh <bash@tlinx.org> |
|---|---|
| Date | 2019-11-25 18:29 -0800 |
| Subject | Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue |
| Message-ID | <mailman.2666.1574735821.13325.bug-bash@gnu.org> |
On 2019/11/25 07:05, <rootlexx@mail.ru> wrote:
> # As you see, now everything works as expected i.e. the issue seems
> # to be in the way readline is handling multibyte invisible characters
> # in a prompt, *probably* in the rl_redisplay() function.
>
----
Multi-byte or not, invisible characters need to be enclosed
as documented under 'PROMPTING':
\[ begin a sequence of non-printing characters, which could
be used to embed a terminal control sequence into the
prompt
\] end a sequence of non-printing characters
Back to top | Article view | gnu.bash.bug
csiph-web