Merge pull request #1907 from honeywest/feat/ui-format

feat: ui format
This commit is contained in:
Mo 2024-03-27 15:08:28 +01:00 committed by GitHub
commit 8e87c35c88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
macro_rules! print_emoji { 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 console::{style, Emoji};
use std::env; use std::env;
let formatstr = format!($fmt, $ex); let formatstr = format!($fmt, $ex);