msp430-help: fix footer font color
This commit is contained in:
@@ -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);}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user