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

Re: zsh/complist colours improperly handle multibyte characters



On Tue, 25 Oct 2016 08:59:20 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Oct 25, 11:44am, Peter Stephenson wrote:
> }
> } To fix this safely, we need first to metafy the input string,
> } 
> } * E2 83 B4 82 *
> } 
> } then tokenise it with the change I previously posted to skip Meta,
> 
> This seems to have done it.  I tried the metafy before tokenize route,
> but without the change to zshtokenize that wasn't sufficient.
> 
> Do we also need this here?  And isn't it slightly better to pass -1
> to metafy() rather than call strlen()?

It looks highly likely.

pws



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