Skip to content
Snippets Groups Projects
Commit ee25667e authored by Éloïs's avatar Éloïs
Browse files

[fix] tui: realign heads columns

parent f918b2d1
Branches
Tags
1 merge request!191[fix] tui: realign heads columns
......@@ -70,7 +70,7 @@ impl NetworkHeadMessageV2 {
if max_len > 85 && uid.is_some() {
format!(
"{node_id:8}-{pubkey:.8} {blockstamp:.16} {soft:7}:{ver:14} {pre:3} [{api:5}] {mer:02}:{mir:02} {uid}",
"{node_id:8}-{pubkey:.8} {blockstamp:.16} {soft:9}:{ver:14} {pre:3} [{api:5}] {mer:02}:{mir:02} {uid}",
node_id = self.node_uuid.to_string(),
pubkey = self.pubkey.to_string(),
blockstamp = self.blockstamp.to_string(),
......@@ -84,7 +84,7 @@ impl NetworkHeadMessageV2 {
)
} else if max_len > 75 {
format!(
"{node_id:8}-{pubkey:.8} {blockstamp:.16} {soft:7}:{ver:14} {pre:3} [{api:5}] {mer:02}:{mir:02}",
"{node_id:8}-{pubkey:.8} {blockstamp:.16} {soft:9}:{ver:14} {pre:3} [{api:5}] {mer:02}:{mir:02}",
node_id = self.node_uuid.to_string(),
pubkey = self.pubkey.to_string(),
blockstamp = self.blockstamp.to_string(),
......@@ -97,7 +97,7 @@ impl NetworkHeadMessageV2 {
)
} else if max_len > 70 {
format!(
"{node_id:8}-{pubkey:.8} {blockstamp:.16} {soft:7}:{ver:14} [{api:5}] {mer:02}:{mir:02}",
"{node_id:8}-{pubkey:.8} {blockstamp:.16} {soft:9}:{ver:14} [{api:5}] {mer:02}:{mir:02}",
node_id = self.node_uuid.to_string(),
pubkey = self.pubkey.to_string(),
blockstamp = self.blockstamp.to_string(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment