bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [readline] Multibyte invisible chars cause weird prompt length calcu


From: L A Walsh
Subject: Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue
Date: Mon, 25 Nov 2019 18:29:00 -0800
User-agent: Thunderbird




On 2019/11/25 07:05, <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]