1
0
mirror of https://github.com/uutils/coreutils synced 2024-07-09 04:06:02 +00:00

Improve the comment

This commit is contained in:
Sylvestre Ledru 2023-12-17 17:40:44 +01:00 committed by GitHub
parent af2625c8ce
commit 5b45159996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -562,7 +562,7 @@ fn is_color_compatible_term() -> bool {
let term = std::env::var("TERM").unwrap_or_default();
let colorterm = std::env::var("COLORTERM").unwrap_or_default();
// Search function to manage the "*" into the data structure
// Search function in the TERM struct to manage the wildcards
let term_matches = |term: &str| -> bool {
uucore::colors::TERMS.iter().any(|&pattern| {
term == pattern