#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

#1262 in Text processing

Download history 2584/week @ 2024-07-21 2894/week @ 2024-07-28 2225/week @ 2024-08-04 1649/week @ 2024-08-11 1848/week @ 2024-08-18 1509/week @ 2024-08-25 2303/week @ 2024-09-01 1981/week @ 2024-09-08 1145/week @ 2024-09-15 1750/week @ 2024-09-22 2190/week @ 2024-09-29 3141/week @ 2024-10-06 1698/week @ 2024-10-13 3055/week @ 2024-10-20 2993/week @ 2024-10-27 4235/week @ 2024-11-03

12,046 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–390KB