mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
simplify colors
This commit is contained in:
parent
1fb9ef5abc
commit
5616231af9
@ -53,7 +53,7 @@ impl Display for FinalError {
|
||||
|
||||
// Details
|
||||
for detail in &self.details {
|
||||
write!(f, "\n {}-{} {}", *WHITE, *YELLOW, detail)?;
|
||||
write!(f, "\n - {}{}{}", *YELLOW, detail, *RESET)?;
|
||||
}
|
||||
|
||||
// Hints
|
||||
@ -65,7 +65,7 @@ impl Display for FinalError {
|
||||
}
|
||||
}
|
||||
|
||||
write!(f, "{}", *RESET)
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user