From 3ae5383eedd2e59de8a11dcf80223baa68f8790f Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 20 Aug 2023 16:49:05 -0700 Subject: [PATCH] Minor cleanup --- src/entrypoint/unix/unix.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entrypoint/unix/unix.rs b/src/entrypoint/unix/unix.rs index b0a6347..104a60a 100644 --- a/src/entrypoint/unix/unix.rs +++ b/src/entrypoint/unix/unix.rs @@ -23,11 +23,11 @@ pub fn main() -> Result<(), std::io::Error> { // Set color compatibilty let term_colors = stdout.available_colors().unwrap_or(0); if term_colors >= 256 { - context.config.term_color_type = 2 + context.config.term_color_type = 2; } else if term_colors >= 8 { - context.config.term_color_type = 1 + context.config.term_color_type = 1; } else { - context.config.term_color_type = 0 + context.config.term_color_type = 0; } context.config.check();