Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mainrs/terminal-supports-emoji-rs
A Rust library to check whether the current terminal supports emojis
https://github.com/mainrs/terminal-supports-emoji-rs
rust-library
Last synced: about 1 month ago
JSON representation
A Rust library to check whether the current terminal supports emojis
- Host: GitHub
- URL: https://github.com/mainrs/terminal-supports-emoji-rs
- Owner: mainrs
- License: apache-2.0
- Created: 2021-03-11T18:11:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T00:14:44.000Z (over 1 year ago)
- Last Synced: 2024-10-12T11:11:26.795Z (3 months ago)
- Topics: rust-library
- Language: Rust
- Homepage: https://crates.io/crates/terminal-supports-emoji
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license-apache
Awesome Lists containing this project
README
# terminal-supports-emoji
> Check if the current terminal supports emojis.
## Usage
```rust
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.