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

Re: PATCH: displaying wide characters



On 10/19/05, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> > First pass at displaying wide characters correctly (with multibyte
> > support active, obviously).
>
> By "wide characters", I meant of course "characters with a display width
> greater than a single character cell", which is not the same thing.

This seems to work fine so far, and the prompt truncation also seems
to be fixed. I just noticed the following while testing when i missed
the space bar,
% echoちとしはちとしはち
zsh: command not found:
echo\M-c\M-^A\M-!\M-c\M-^A\M-(\M-c\M-^A\M-^W\M-c\M-^A\M-/\M-c\M-^A\M-!\M-c\M-^A\M-(\M-c\M-^A\M-^W\M-c\M-^A\M-/\M-c\M-^A\M-!

Maybe the error message could show multibyte printable characters too?
--
Mikael Magnusson



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