From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- vendor/supports-unicode/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vendor/supports-unicode/README.md (limited to 'vendor/supports-unicode/README.md') diff --git a/vendor/supports-unicode/README.md b/vendor/supports-unicode/README.md new file mode 100644 index 0000000..3da5ae5 --- /dev/null +++ b/vendor/supports-unicode/README.md @@ -0,0 +1,19 @@ +Detects whether a terminal supports unicode. + +This crate is a Rust port mashing together +[@sindresorhus](https://github.com/sindresorhus)' +[`is-unicode-supported`](https://npm.im/is-unicode-supported) and +[@iarna](https://github.com/iarna)'s +[`has-unicode`](https://npm.im/has-unicode) NPM packages. + +## Example + +```rust +use supports_unicode::Stream; + +if supports_unicode::on(Stream::Stdout) { + println!("stdout supports unicode output"); +} else { + println!("no unicode, please"); +} +``` -- cgit v1.2.3