summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2024-10-31 09:44:45 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2024-10-31 09:48:05 +1300
commit4155047b3d6f7a1c5993ef8a8ed2244213a1c8d3 (patch)
tree15d0fdb71e4c01f61c2a5e79b6ae1f32acae3d87
parent31b697819cdee2c28fb1839589a389e39156e414 (diff)
downloadbedrock-pc-4155047b3d6f7a1c5993ef8a8ed2244213a1c8d3.zip
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.
-rw-r--r--src/bin/br.rs4
1 files 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}");
}};
}