msp430-help: fix footer font color
This commit is contained in:
parent
b24dd831fc
commit
04c5e2ddf3
@ -37,7 +37,6 @@ impl SyntaxFragment {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fn opcode_info(o: &Opcode) {
|
fn opcode_info(o: &Opcode) {
|
||||||
header!("Instruction:");
|
|
||||||
let (desc, as_rust) = usage(o);
|
let (desc, as_rust) = usage(o);
|
||||||
println!("Usage: {o}{}\n{desc} ( {as_rust} )", params(o));
|
println!("Usage: {o}{}\n{desc} ( {as_rust} )", params(o));
|
||||||
footer!("https://mspgcc.sourceforge.net/manual/x223.html");
|
footer!("https://mspgcc.sourceforge.net/manual/x223.html");
|
||||||
@ -190,5 +189,5 @@ macro header ($($x: expr),+) {
|
|||||||
{print!("{}",SetForegroundColor(Color::Cyan));print!($($x),+);println!("{}",ResetAttributes);}
|
{print!("{}",SetForegroundColor(Color::Cyan));print!($($x),+);println!("{}",ResetAttributes);}
|
||||||
}
|
}
|
||||||
macro footer ($($x: expr),+) {
|
macro footer ($($x: expr),+) {
|
||||||
{print!("{}",SetForegroundColor(Color::Black));print!($($x),+);println!("{}",ResetAttributes);}
|
{print!("{}",SetForegroundColor(Color::DarkGray));print!($($x),+);println!("{}",ResetAttributes);}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user