LinusU / emoji-commit

44 stars 6 forks source link

macOS High Sierra rendering issue #6

Closed LinusU closed 2 years ago

LinusU commented 7 years ago
screen shot 2017-08-01 at 16 36 35

I think that the problem is that I before assumed that every emoji would take up to chars, but only advance the cursor by one, so I always printed a space after each emoji. Behaviour should somehow be detected and then it should do the right thing...

Offirmo commented 7 years ago

FYI Unicode 9 introduced full/half width emojis, that feature may have landed in High Sierra. TL;DR. the extra space is no longer needed for emojis recognized as "wide".

albinekb commented 7 years ago

image

iTerm2: Build 3.1.4.beta.1 macOS High Sierra: 10.13.1 Beta (17B35a)

LinusU commented 2 years ago

This works on latest macOS now, so closing this...

macOS 12.6 (21G115) Terminal Version 2.12.7 (445)