diff --git a/src/main.rs b/src/main.rs index 652dc61..3283381 100644 --- a/src/main.rs +++ b/src/main.rs @@ -275,13 +275,12 @@ fn main() { let mut now = Utc::now() - Duration::seconds(59); let mut current = now; - println!("Initial Time is {} {}", now.format("%H:%M:%S"), now.timezone()); - loop { now = Utc::now(); if now >= current + Duration::seconds(60) { current = now; + print!("\x1B[2J\x1B[1;1H"); println!("Starting DNS Update at {} {}", now.format("%H:%M:%S"), now.timezone()); update_dns(); }