From 04c5e2ddf322a961e33a499fbd4c0a3232fb2799 Mon Sep 17 00:00:00 2001 From: John Breaux Date: Wed, 4 Oct 2023 04:44:26 -0500 Subject: [PATCH] msp430-help: fix footer font color --- examples/msp430-help/data.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/msp430-help/data.rs b/examples/msp430-help/data.rs index b2d9c66..5b6c528 100644 --- a/examples/msp430-help/data.rs +++ b/examples/msp430-help/data.rs @@ -37,7 +37,6 @@ impl SyntaxFragment { } } fn opcode_info(o: &Opcode) { - header!("Instruction:"); let (desc, as_rust) = usage(o); println!("Usage: {o}{}\n{desc} ( {as_rust} )", params(o)); footer!("https://mspgcc.sourceforge.net/manual/x223.html"); @@ -190,5 +189,5 @@ macro header ($($x: expr),+) { {print!("{}",SetForegroundColor(Color::Cyan));print!($($x),+);println!("{}",ResetAttributes);} } macro footer ($($x: expr),+) { - {print!("{}",SetForegroundColor(Color::Black));print!($($x),+);println!("{}",ResetAttributes);} + {print!("{}",SetForegroundColor(Color::DarkGray));print!($($x),+);println!("{}",ResetAttributes);} }