Skip to content

Commit

Permalink
feat: update text
Browse files Browse the repository at this point in the history
  • Loading branch information
Chleba committed Sep 4, 2024
1 parent 931ea0b commit 7733c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ impl Ports {
fn make_list(&self) -> List {
let mut items = Vec::new();
for ip in &self.ip_ports {
let ip_line = Line::from(vec!["ip: ".yellow(), ip.ip.clone().blue()]);
let ip_line = Line::from(vec!["IP: ".yellow(), ip.ip.clone().blue()]);

let mut ports_spans = vec!["ports: ".yellow()];
let mut ports_spans = vec!["PORTS: ".yellow()];
if ip.state == PortsScanState::Waiting {
ports_spans.push("?".red());
} else if ip.state == PortsScanState::Scanning {
Expand Down

0 comments on commit 7733c12

Please sign in to comment.