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

Re: problem with multi-byte character on command line (zsh v 5.8)

Hello Bart, I normally use terminator as my terminal emulator. I have tried launching xterm and the result is the same.
I use zsh 5.8 (x86_64-pc-linux-musl) (the hermetic version provided by Roman: https://github.com/romkatv/zsh-bin)
which seems to be the culprit, since if I switch to the zsh 5.1.1 provided by the os of the vm where I am testing the problem does not manifests.
By the way the problem happens only when the cursor is placed before the 4-bytes character.

Pier Paolo Grassi

Il giorno mer 18 mag 2022 alle ore 20:55 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> ha scritto:
On Wed, May 18, 2022 at 10:30 AM Pier Paolo Grassi <pierpaolog@xxxxxxxxx> wrote:
> Hello, I have just found than having this character on command line:
> $'\xf0\x9f\x8d\xbe' (that would be a 🍾)
> makes the cursor unable to advance when inserting characters

I'm unable to reproduce this in either 5.8 or 5.9.  Is it possibly
specific to a terminal emulator or locale setting?

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