From 511553a4a2edc051f8a9f0826432147aac4b0032 Mon Sep 17 00:00:00 2001 From: xxanqw Date: Sun, 30 Nov 2025 00:39:08 +0200 Subject: cargo fmt --- src/color.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/color.rs') diff --git a/src/color.rs b/src/color.rs index 809c66f..548c222 100644 --- a/src/color.rs +++ b/src/color.rs @@ -506,9 +506,9 @@ pub fn detect_color_mode() -> ColorMode { } // Early checks - if std::env::var("COLORTERM").is_ok_and(|colorterm| { - colorterm.contains("truecolor") || colorterm.contains("24bit") - }) { + if std::env::var("COLORTERM") + .is_ok_and(|colorterm| colorterm.contains("truecolor") || colorterm.contains("24bit")) + { return ColorMode::Truecolor; } -- cgit v1.3-2-g0d8e