zsh-workers
 help / color / mirror / code / Atom feed
From: Wesley Schwengle <wesley@opndev.io>
To: zsh-workers@zsh.org
Subject: Re: Unicode ZWJ sequence
Date: Sat, 19 Aug 2023 17:11:39 +0000	[thread overview]
Message-ID: <7272b098-f9c9-4cb3-97c0-e47c16d2614a@opndev.io> (raw)
In-Reply-To: <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@acceis.fr> 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@opndev.io




  reply	other threads:[~2023-08-19 17:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-18 13:02 Alexandre ZANNI
2023-08-18 15:24 ` Mikael Magnusson
2023-08-19 16:16   ` Bart Schaefer
2023-08-19 16:46     ` Mikael Magnusson
2023-08-19 17:07       ` Bart Schaefer
2023-08-19 17:11         ` Bart Schaefer
2023-08-19 15:53 ` Roman Perepelitsa
2023-08-19 17:11   ` Wesley Schwengle [this message]
2023-08-20  0:06     ` maxbeckie
2023-08-20  0:13       ` Lawrence Velázquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7272b098-f9c9-4cb3-97c0-e47c16d2614a@opndev.io \
    --to=wesley@opndev.io \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).