#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

#1473 in Text processing

Download history 1516/week @ 2024-03-14 1345/week @ 2024-03-21 2185/week @ 2024-03-28 2513/week @ 2024-04-04 2875/week @ 2024-04-11 2135/week @ 2024-04-18 1738/week @ 2024-04-25 1810/week @ 2024-05-02 2333/week @ 2024-05-09 2489/week @ 2024-05-16 2378/week @ 2024-05-23 2944/week @ 2024-05-30 2844/week @ 2024-06-06 2206/week @ 2024-06-13 2199/week @ 2024-06-20 1571/week @ 2024-06-27

9,346 downloads per month
Used in 17 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