aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorache <ache@ache.one>2026-08-16 22:01:58 +0200
committerache <ache@ache.one>2026-08-16 22:01:58 +0200
commit0620be9bab315f5f30cb5120ae56ff3d50d3775c (patch)
treeaa41e5e5392bf721d4c5f9be79d7ac928c8ae45e /src/main.rs
parentDon't count NotYetReceived packet as lost (diff)
Rename remainder line to status line
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 00f6b49..2ca6fc7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -13,7 +13,7 @@ mod stats;
use args::Args;
use ip::parse_ip;
use pinger::{PingResult, spawn_ping};
-use print::{print_legende_line, print_ping_line, print_stats, print_remainder_line};
+use print::{print_legende_line, print_ping_line, print_stats, print_status_line};
use state::State;
use stats::compute_stats;
@@ -152,8 +152,8 @@ async fn main() {
print_legende_line();
}
- if args.remainder {
- print_remainder_line(&target_str, &target);
+ if args.status {
+ print_status_line(&target_str, &target);
}
// Save the current cursor position