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

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



On Thu, Aug 11, 2022, 2:47 PM Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote:

> > It's the same: what we do in zsh with `%F{color}`, we do in readline
> > with $'\001\e[31m\002'.

This is my sincere belief. You are free to not believe it is.

This is getting a bit silly, but:

While the above is generically true, given "color" is a placeholder for a set of possible escapes of which "31m" is a specific example, it is not true that $'\001anyrandomstring\002' in readline is accomplished via %F{anything} in zsh.


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