Minor cleanup

newfloat
Mark 2023-08-20 16:49:05 -07:00
parent 4055c08217
commit 3ae5383eed
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 3 additions and 3 deletions

View File

@ -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();