Peer send receive bytes statistics missed response messages and attachment (#1953)

* fix: peer send receive bytes statistics missed response message and attachment

* rustfmt
This commit is contained in:
Gary Yu
2018-11-11 07:30:57 +08:00
committed by GitHub
parent 2352275dff
commit 7ff1ee5fde
3 changed files with 41 additions and 10 deletions
+2 -2
View File
@@ -124,8 +124,8 @@ impl TUIStatusListener for TUIPeerView {
}).column(PeerColumn::Direction, "Direction", |c| c.width_percent(8))
.column(PeerColumn::TotalDifficulty, "Total Difficulty", |c| {
c.width_percent(24)
}).column(PeerColumn::Version, "Version", |c| c.width_percent(8))
.column(PeerColumn::UserAgent, "User Agent", |c| c.width_percent(16));
}).column(PeerColumn::Version, "Ver", |c| c.width_percent(6))
.column(PeerColumn::UserAgent, "User Agent", |c| c.width_percent(18));
let peer_status_view = BoxView::with_full_screen(
LinearLayout::new(Orientation::Vertical)
.child(