mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-10 19:10:57 +00:00
terminal.rs: add a symbols range to is_emoji check
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
This commit is contained in:
parent
58d7327130
commit
ed5a6b04f4
@ -220,6 +220,7 @@ impl TextPresentation for str {
|
||||
};
|
||||
let is_emoji = |base_char: char| -> bool {
|
||||
[
|
||||
0x2600..0x26FF, // Miscellaneous Symbols
|
||||
0x2B00..0x2BFF, // Miscellaneous Symbols and Arrows
|
||||
0x1F300..0x1F5FF, // Miscellaneous Symbols and Pictographs
|
||||
0x1F600..0x1F64F, // Emoticons
|
||||
|
Loading…
Reference in New Issue
Block a user