terminal.rs: add a symbols range to is_emoji check

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/398/head
Manos Pitsidianakis 4 months ago
parent 58d7327130
commit ed5a6b04f4
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0

@ -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…
Cancel
Save