Replace S and R with corresponding ASCII arrows in bandwidth column (#2836)

This commit is contained in:
eupn 2019-05-25 04:41:51 +07:00 committed by hashmap
parent f9c5505e9f
commit 9f28e6aaa3

View file

@ -68,7 +68,7 @@ impl TableViewItem<PeerColumn> for PeerStats {
PeerColumn::Address => self.addr.clone(),
PeerColumn::State => self.state.clone(),
PeerColumn::UsedBandwidth => format!(
"S: {}, R: {}",
"↑: {}, ↓: {}",
size_to_string(self.sent_bytes_per_sec),
size_to_string(self.received_bytes_per_sec),
)