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

Re: Multi-codepoint Unicode characters do not combine correctly in input



> it is up to the terminal, not the program running inside, if it wants to combine the emojis or not

I don't understand.  At the top of this thread I showed Bash successfully combining the characters and Zsh not.  It seems like it is up to the program running inside the terminal.

On Thu, May 29, 2025 at 11:53 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
On Thu, May 29, 2025 at 8:37 PM Max Coplan <mchcopl@xxxxxxxxx> wrote:
>
> I read the thread, but I couldn't find anything helpful. All I saw was recommending `combiningchars`.

As I noted somewhere in that thread, it's not possible to reliably
display combined emojis in a terminal because there is no way to know
before printing the character how much space it will take up (it is up
to the terminal, not the program running inside, if it wants to
combine the emojis or not).

--
Mikael Magnusson


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