fix: add new emoji codepoint for Base256Emoji 🐉

One of the values of base256emoji was not actually an emoji.

Here there be dragons instead !

See df5b7bc6ee (r75683795) for context.
This commit is contained in:
Jorropo
2022-06-13 21:13:45 +02:00
committed by Rod Vagg
parent 6e0e420356
commit 801f90a945
2 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,8 @@ var base256emojiTable = [256]rune{
'🚀', '🪐', '☄', '🛰', '🌌', // Space '🚀', '🪐', '☄', '🛰', '🌌', // Space
'🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘', // Moon '🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘', // Moon
'🌍', '🌏', '🌎', // Our Home, for now (earth) '🌍', '🌏', '🌎', // Our Home, for now (earth)
'', '☀', // Our Garden, for now (sol) '🐉', // Dragon!!!
'☀', // Our Garden, for now (sol)
'💻', '🖥', '💾', '💿', // Computer '💻', '🖥', '💾', '💿', // Computer
// The rest is completed from https://home.unicode.org/emoji/emoji-frequency/ at the time of creation (december 2021) (the data is from 2019), most used first until we reach 256. // The rest is completed from https://home.unicode.org/emoji/emoji-frequency/ at the time of creation (december 2021) (the data is from 2019), most used first until we reach 256.
// We exclude modifier based emojies (such as flags) as they are bigger than one single codepoint. // We exclude modifier based emojies (such as flags) as they are bigger than one single codepoint.

2
spec

Submodule spec updated: cffd1aa308...4c8344e378