From 1056a926a53c8320573854a991546b0ee7de79bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Wed, 11 Dec 2024 16:17:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/terminal-colorsaurus/Cargo.toml | 2 +- readme.md | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/terminal-colorsaurus/Cargo.toml b/crates/terminal-colorsaurus/Cargo.toml index 8662c01..9f51e22 100644 --- a/crates/terminal-colorsaurus/Cargo.toml +++ b/crates/terminal-colorsaurus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "terminal-colorsaurus" -description = "Determines the background and foreground color of the terminal" +description = "A cross-platform library for determining the terminal's background and foreground color. It answers the question «Is this terminal dark or light?»." readme = "readme.md" repository = "https://github.com/bash/terminal-colorsaurus" categories = ["command-line-interface"] diff --git a/readme.md b/readme.md index d7901bb..1039b23 100644 --- a/readme.md +++ b/readme.md @@ -3,10 +3,8 @@ [![Docs](https://img.shields.io/docsrs/terminal-colorsaurus/latest)](https://docs.rs/terminal-colorsaurus) [![Crate Version](https://img.shields.io/crates/v/terminal-colorsaurus)](https://crates.io/crates/terminal-colorsaurus) -Determines the background and foreground color of the terminal -using the `OSC 10` and `OSC 11` escape codes. - -This library helps answer the question *«Is this terminal dark or light?»*. +A cross-platform library for determining the terminal's background and foreground color. \ +It answers the question *«Is this terminal dark or light?»*. Works in all major terminals including Windows Terminal (starting with v1.22).