From 4f422c1a3a49f91722ee320f1c070dd3492fe593 Mon Sep 17 00:00:00 2001 From: Simone Ragusa Date: Sat, 21 Sep 2024 15:59:34 +0200 Subject: [PATCH] uucore: add alacritty to the list of terminals that support colors Any value of TERM with glob pattern `alacritty*` will be matched. Fixes #6722 --- src/uucore/src/lib/features/colors.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uucore/src/lib/features/colors.rs b/src/uucore/src/lib/features/colors.rs index f05739431..f8cbc9ebf 100644 --- a/src/uucore/src/lib/features/colors.rs +++ b/src/uucore/src/lib/features/colors.rs @@ -13,6 +13,7 @@ /// restrict following config to systems with matching environment variables. pub static TERMS: &[&str] = &[ "Eterm", + "alacritty*", "ansi", "*color*", "con[0-9]*x[0-9]*",