cli: Don't force bold output to be white
On terminals in light mode, it makes the bold stuff invisible. Signed-off-by: Richard Levitte <richard@levitte.org>
This commit is contained in:
parent
cd9b46fe51
commit
b495358c5f
|
|
@ -77,7 +77,7 @@ pub fn badge_secondary<D: std::fmt::Display>(input: D) -> Paint<String> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn bold<D: std::fmt::Display>(input: D) -> Paint<D> {
|
pub fn bold<D: std::fmt::Display>(input: D) -> Paint<D> {
|
||||||
Paint::white(input).bold()
|
Paint::new(input).bold()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn dim<D: std::fmt::Display>(input: D) -> Paint<D> {
|
pub fn dim<D: std::fmt::Display>(input: D) -> Paint<D> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue