feat: ui format

This commit is contained in:
honeywest 2024-03-21 15:18:50 +08:00
parent 9c6f56b836
commit e276c12192

View file

@ -1,5 +1,5 @@
macro_rules! print_emoji {
($emoji:expr, $sign:expr, $color: ident ,$fmt:literal, $ex:expr) => {{
($emoji:expr, $sign:expr, $color: ident, $fmt:literal, $ex:expr) => {{
use console::{style, Emoji};
use std::env;
let formatstr = format!($fmt, $ex);