Emoji Support in CoreShell is weird

When I paste the following command in CoreShell it has weird behaviour.

echo "hello 😀 world"

When I then move the cursor to the left of the emoji and want to add some other characters to the string literal, the behavior is really weird, as it does not really show the characters typed in. For most characters it just shows in place of the current character. But typing after the emoji works fine.

As it seems it only does not show the entered Characters, but still adds them to the buffer. So after executing the echo command, it still shows all the entered characters.

At the start it also shows a weird additional quote that was not really pasted in. And because the emoji is twice as wide as a normal character it also occupies the space for the empty space after the emoji. The rendering of emojis in the default mac terminal handles this better.

I could just use echo "hello\U0001F600 world" but thats not really advised, as its less readable and shell dependent.

Whats going on here?

Thanks a lot for reporting this issue, will improve emoji support in version 4.1.

1 Like