#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

#1477 in Text processing

Download history 1256/week @ 2024-01-03 1680/week @ 2024-01-10 1644/week @ 2024-01-17 1911/week @ 2024-01-24 1837/week @ 2024-01-31 2150/week @ 2024-02-07 2906/week @ 2024-02-14 1204/week @ 2024-02-21 1247/week @ 2024-02-28 1913/week @ 2024-03-06 1779/week @ 2024-03-13 1079/week @ 2024-03-20 2155/week @ 2024-03-27 2704/week @ 2024-04-03 2601/week @ 2024-04-10 1448/week @ 2024-04-17

9,391 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