#emoji #terminal #stream #supports-emoji

terminal-supports-emoji

Check whether the current terminal supports emoji

1 unstable release

0.1.3 Mar 15, 2021
0.1.2 Mar 11, 2021
0.1.1 Mar 11, 2021
0.1.0 Mar 11, 2021

#1499 in Text processing

Download history 1556/week @ 2023-12-18 556/week @ 2023-12-25 813/week @ 2024-01-01 1626/week @ 2024-01-08 1690/week @ 2024-01-15 1829/week @ 2024-01-22 1875/week @ 2024-01-29 2161/week @ 2024-02-05 2574/week @ 2024-02-12 1853/week @ 2024-02-19 1015/week @ 2024-02-26 1456/week @ 2024-03-04 2135/week @ 2024-03-11 1134/week @ 2024-03-18 1950/week @ 2024-03-25 2527/week @ 2024-04-01

7,790 downloads per month
Used in 15 crates (4 directly)

Apache-2.0 OR MIT

8KB

terminal-supports-emoji

Check if the current terminal supports emojis.

Usage

use terminal_supports_emoji::{supports_emoji, Stream);

let _ = supports_emoji(Stream::Stdout);

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~8–400KB