Created printer for better formatting

This commit is contained in:
Maddox Werts 2025-04-18 16:25:36 -04:00
parent 6fb06f92be
commit d4313f421a

11
project/src/printer.rs Normal file
View file

@ -0,0 +1,11 @@
// Libraries
use colored::{self, Colorize, CustomColor};
// Functions
pub fn print_generic(emoji: &str, message: &str) {
println!(
"[{:^3}] {}",
emoji,
message.custom_color(CustomColor::new(200, 200, 200))
);
}