Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] prompt: support generic non-visible regions



On 8/11/22, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote:
> On Thu, Aug 11, 2022 at 1:32 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>> On 8/11/22, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote:
>
>> > The commit message says:
>> >
>> > 1. We do readline $'\001\e[31m\002' as zsh '%F{red}'.
>> >
>> > This is true.
>>
>> The statement is true, but it's not what the commit message says, it
>> says:
>> "readline assumes anything between \001 (start of header) and \002 (start
>> of text) is non-visible characters.
>>
>> In zsh we do this with `%F{color}`"
>
> It's the same: what we do in zsh with `%F{color}`, we do in readline
> with $'\001\e[31m\002'.

It's clearly not the same and incorrect. You're basically just lying
at this point, please stop.

-- 
Mikael Magnusson




Messages sorted by: Reverse Date, Date, Thread, Author