Slightly improve rendering inline-terminal example
This commit is contained in:
parent
5d322d1e3d
commit
e63fe172c5
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ fn main() {
|
||||||
print!("{}", style.apply_to(sign).bold(),);
|
print!("{}", style.apply_to(sign).bold(),);
|
||||||
for &(emphasized, value) in change.values() {
|
for &(emphasized, value) in change.values() {
|
||||||
if emphasized {
|
if emphasized {
|
||||||
print!("{}", style.apply_to(value).underlined());
|
print!("{}", style.apply_to(value).underlined().on_black());
|
||||||
} else {
|
} else {
|
||||||
print!("{}", style.apply_to(value));
|
print!("{}", style.apply_to(value));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue