mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Improve the comment
This commit is contained in:
parent
af2625c8ce
commit
5b45159996
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ fn is_color_compatible_term() -> bool {
|
||||||
let term = std::env::var("TERM").unwrap_or_default();
|
let term = std::env::var("TERM").unwrap_or_default();
|
||||||
let colorterm = std::env::var("COLORTERM").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 {
|
let term_matches = |term: &str| -> bool {
|
||||||
uucore::colors::TERMS.iter().any(|&pattern| {
|
uucore::colors::TERMS.iter().any(|&pattern| {
|
||||||
term == pattern
|
term == pattern
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue