#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

#1755 in Text processing

Download history 1562/week @ 2024-08-26 2383/week @ 2024-09-02 1891/week @ 2024-09-09 1085/week @ 2024-09-16 1773/week @ 2024-09-23 2176/week @ 2024-09-30 3113/week @ 2024-10-07 1738/week @ 2024-10-14 3045/week @ 2024-10-21 3116/week @ 2024-10-28 4292/week @ 2024-11-04 4286/week @ 2024-11-11 4936/week @ 2024-11-18 3711/week @ 2024-11-25 4477/week @ 2024-12-02 4085/week @ 2024-12-09

17,430 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–385KB