From ed5a6b04f4e28f7fbea09cbc45fb8f781282bccb Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Thu, 23 May 2024 09:30:18 +0300 Subject: [PATCH] terminal.rs: add a symbols range to is_emoji check Signed-off-by: Manos Pitsidianakis --- meli/src/terminal.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/meli/src/terminal.rs b/meli/src/terminal.rs index 703a045f..9d79053e 100644 --- a/meli/src/terminal.rs +++ b/meli/src/terminal.rs @@ -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