Skip to content

Commit

Permalink
Make discon more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaschan committed Sep 2, 2024
1 parent 8a48138 commit f343b82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion insanity-tui/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ fn peer_row<'a>(peer: &Peer, selected: bool) -> Row<'a> {
Cell::from(denoise_symbol),
attributes,
Cell::from(Spans::from(vec![
Span::styled("(DISCON) ", style.fg(Color::DarkGray)),
Span::styled(display_name, style.fg(CONNECTING)),
Span::styled(" (DISCON) --> ", style.fg(Color::DarkGray)),
Span::styled(" --> ", style.fg(Color::DarkGray)),
Span::styled(format!("{}", address), style.fg(Color::DarkGray)),
]))
.style(style),
Expand Down

0 comments on commit f343b82

Please sign in to comment.