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

Re: Unicode ZWJ sequence



On 8/19/23 11:53, Roman Perepelitsa wrote:
> On Fri, Aug 18, 2023 at 3:03 PM Alexandre ZANNI <alexandre@xxxxxxxxx> wrote:
>>
>> As you can see below the terminal emulator named foot is capable of
>> displaying such a grapheme, and other command line shell like bash [...]
>
> Does bash really support this? What happens if you repeatedly press
> Backspace after pasting 👩‍❤️‍👨? Anether test would be to paste "foo
> x👩‍❤️‍👨x bar" and verify that you can delete the middle word with
> Ctrl-W without any artifacts.

Personally I think the way zsh does it is the correct way

I did a few tests with zsh/bash/fish and sh (although on debian that is
dash). Zsh acts the most sane out of all the shells:

https://asciinema.org/a/603574

Cheers,
Wesley

--
Wesley Schwengle
E: wesley@xxxxxxxxx






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