Open nicojs opened 1 year ago
I tried a simple example on multiple editors and it looks like this
158a|
1✅a|
It seems the length of ✅ here is not exactly 2. Its something between 1-2 maybe 1.8 This makes all the calculations harder for console. I need to find a way to add spaces that are less than 1. Only then I will be able to fix this issue
It seems the length of ✅ here is not exactly 2. Its something between 1-2 maybe 1.8
That seems to be a GH font issue.
To clarify this issue further.
I expect this:
To be this:
I don't seem to be able to change the charLength
property to accomplish this 🤷♀️
I don't understand how the
charLength
works when combined with text.https://console-table.netlify.app/docs/doc-emojis-special-chars
See this example:
This outputs:
But AFAIK I used the correct char lengths for the emojis. What exactly should the value of a
charLength
be?