From 4155047b3d6f7a1c5993ef8a8ed2244213a1c8d3 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Thu, 31 Oct 2024 09:44:45 +1300 Subject: Remove bolding from info messages Bold should only be used for important messages, such as error and warning messages. This commit also moves the white colour change to before the colon, to match the style used in the bedrock-asm library. --- src/bin/br.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/br.rs b/src/bin/br.rs index f472840..f2be2bf 100644 --- a/src/bin/br.rs +++ b/src/bin/br.rs @@ -17,13 +17,13 @@ static mut VERBOSE: bool = false; macro_rules! verbose { ($($tokens:tt)*) => { if unsafe { VERBOSE } { - eprint!("{BOLD}{BLUE}[INFO]: {WHITE}"); eprint!($($tokens)*); + eprint!("{BOLD}{BLUE}[INFO]{NORMAL}: "); eprint!($($tokens)*); eprintln!("{NORMAL}"); } }; } macro_rules! error { ($($tokens:tt)*) => {{ - eprint!("{BOLD}{RED}[ERROR]: {WHITE}"); eprint!($($tokens)*); + eprint!("{BOLD}{RED}[ERROR]{WHITE}: "); eprint!($($tokens)*); eprintln!("{NORMAL}"); }}; } -- cgit v1.2.3-70-g09d2