Using percent for trend
This commit is contained in:
@@ -79,7 +79,7 @@ impl Formatted for MarketItem {
|
|||||||
self.price.to_string(),
|
self.price.to_string(),
|
||||||
self.volume_24h.to_string(),
|
self.volume_24h.to_string(),
|
||||||
format!(
|
format!(
|
||||||
"{} {}",
|
"{} {}%",
|
||||||
if self.trend.is_sign_positive() {
|
if self.trend.is_sign_positive() {
|
||||||
"\x1b[32m▲\x1b[0m"
|
"\x1b[32m▲\x1b[0m"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user