Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Unicode ZWJ sequence
- X-seq: zsh-workers 52067
- From: Wesley Schwengle <wesley@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Unicode ZWJ sequence
- Date: Sat, 19 Aug 2023 17:11:39 +0000
- Archived-at: <https://zsh.org/workers/52067>
- Feedback-id: 16776580:user:proton
- In-reply-to: <CAN=4vMpLCt2=NzCr50MwMgHhAqQ1vBonGUrpwQ5aQOk392wCbw@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <3777545.kQq0lBPeGt@norarch> <CAN=4vMpLCt2=NzCr50MwMgHhAqQ1vBonGUrpwQ5aQOk392wCbw@mail.gmail.com>
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