Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Emoji causes misalignment #2

Closed
tomsun opened this issue Aug 1, 2018 · 1 comment
Closed

Emoji causes misalignment #2

tomsun opened this issue Aug 1, 2018 · 1 comment

Comments

@tomsun
Copy link

tomsun commented Aug 1, 2018

Example:

<Box float="center" padding={1}>
  This is not quite right 馃檯
</Box>

I.e. using:
https://emojipedia.org/face-with-no-good-gesture/

Output:

ink-box-mbemoji

(in macOS Terminal.app, PT Mono 12pt)

@tomsun tomsun changed the title Multibyte emoji causes misalignment Emoji causes misalignment Aug 1, 2018
@sindresorhus
Copy link
Owner

Use the Box component in Ink instead.

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants