Skip to content

Commit

Permalink
style syn flood block
Browse files Browse the repository at this point in the history
  • Loading branch information
pythops committed Sep 25, 2024
1 parent 5695106 commit d750d58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oryx-tui/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ impl App {

let rows = top_3.map(|(ip, count)| {
Row::new(vec![
Line::from(ip.to_string()).centered(),
Line::from(ip.to_string()).centered().bold(),
Line::from(count.to_string()).centered(),
])
});
Expand All @@ -1173,6 +1173,7 @@ impl App {
Block::new()
.title(" SYN Flood Attack ")
.borders(Borders::all())
.border_style(Style::new().yellow())
.title_alignment(Alignment::Center),
);

Expand Down

0 comments on commit d750d58

Please sign in to comment.