Put arrows in the summary spans

Still would like a format like

LIBREQOS MONITOR UP OTHER STATUS INFO and the summary down/up stats to
line up with the table below it.
This commit is contained in:
Dave Taht
2023-01-29 07:10:11 +00:00
parent e175f15845
commit ea40e6293c

View File

@@ -81,8 +81,10 @@ fn draw_pps<'a>(
bits_per_second: (u64, u64),
) -> Spans<'a> {
let text = Spans::from(vec![
Span::styled("🠗 ", Style::default().fg(Color::Yellow)),
Span::from(scale_bits(bits_per_second.0)),
Span::from(" "),
Span::styled(" 🠕 ", Style::default().fg(Color::Yellow)),
Span::from(scale_bits(bits_per_second.1)),
Span::from(" "),
Span::styled("🠗 ", Style::default().fg(Color::Yellow)),