Skip to content

Commit

Permalink
fix(tui): set correct table row height for hops with no response (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed Nov 9, 2023
1 parent 841286f commit d5d59a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/render/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ fn render_hostname_with_details(
let index = app.selected_hop_address;
format_details(hop, index, dns, geoip_lookup, config)
} else {
(String::from("No response"), 1)
let height = if config.lookup_as_info { 6 } else { 3 };
(String::from("No response"), height)
};
let cell = Cell::from(rendered);
(cell, count)
Expand Down

0 comments on commit d5d59a0

Please sign in to comment.