mirror of
				https://github.com/rm-dr/daisy
				synced 2025-10-30 22:14:55 -07:00 
			
		
		
		
	Minor cleanup
This commit is contained in:
		| @ -23,11 +23,11 @@ pub fn main() -> Result<(), std::io::Error> { | |||||||
| 	// Set color compatibilty | 	// Set color compatibilty | ||||||
| 	let term_colors = stdout.available_colors().unwrap_or(0); | 	let term_colors = stdout.available_colors().unwrap_or(0); | ||||||
| 	if term_colors >= 256 { | 	if term_colors >= 256 { | ||||||
| 		context.config.term_color_type = 2 | 		context.config.term_color_type = 2; | ||||||
| 	} else if term_colors >= 8 { | 	} else if term_colors >= 8 { | ||||||
| 		context.config.term_color_type = 1 | 		context.config.term_color_type = 1; | ||||||
| 	} else { | 	} else { | ||||||
| 		context.config.term_color_type = 0 | 		context.config.term_color_type = 0; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	context.config.check(); | 	context.config.check(); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user