From 517df2bb0006b16d24f8b9b25020a793354ab294 Mon Sep 17 00:00:00 2001 From: xxanqw Date: Sat, 29 Nov 2025 23:42:12 +0200 Subject: Enable ANSI support on Windows and fallback to crossterm colors if necessary --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e61489c..e7bdafc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mikusays" -version = "0.1.4" +version = "0.1.4-2" edition = "2024" description = "A \"cowsay\" clone with Hatsune Miku ASCII art and speech bubbles." license = "MIT" @@ -31,3 +31,7 @@ crossterm = "0.29" unicode-width = "0.2.2" rand = "0.9.2" clap = { version = "4.5.53", features = ["derive"] } +# sysinfo removed; using env var heuristics instead + +# Windows console API to enable virtual terminal processing (ANSI) +winapi = { version = "0.3", features = ["consoleapi", "wincon", "processenv", "handleapi", "winbase"] } -- cgit v1.3-2-g0d8e