From 383d35950e12303d71f38d3355b6320a0a475c89 Mon Sep 17 00:00:00 2001 From: Yoni Date: Sat, 12 Jan 2019 17:22:35 +0200 Subject: [PATCH] Move 3 dots to the TUI --- src/bin/tui/status.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/tui/status.rs b/src/bin/tui/status.rs index 45d81e03..afc92cd1 100644 --- a/src/bin/tui/status.rs +++ b/src/bin/tui/status.rs @@ -241,7 +241,7 @@ impl TUIStatusListener for TUIStatusView { t.set_content(stats.peer_count.to_string()); }); c.call_on_id("tip_hash", |t: &mut TextView| { - t.set_content(stats.head.last_block_h.to_string()); + t.set_content(stats.head.last_block_h.to_string() + "..."); }); c.call_on_id("chain_height", |t: &mut TextView| { t.set_content(stats.head.height.to_string()); @@ -250,7 +250,7 @@ impl TUIStatusListener for TUIStatusView { t.set_content(stats.head.total_difficulty.to_string()); }); c.call_on_id("basic_header_tip_hash", |t: &mut TextView| { - t.set_content(stats.header_head.last_block_h.to_string()); + t.set_content(stats.header_head.last_block_h.to_string() + "..."); }); c.call_on_id("basic_header_chain_height", |t: &mut TextView| { t.set_content(stats.header_head.height.to_string());