diff --git a/testping1.py b/testping1.py index ecea5df..183952e 100644 --- a/testping1.py +++ b/testping1.py @@ -112,7 +112,9 @@ def is_reachable(ip, timeout=1): # Removing pbar.set_description(f"Pinging {ip_address}...") here avoids console I/O bottleneck if future.result(): - print(f"Device reachable at: {ip_address}") + # ⚡ Bolt: Replaced print() with tqdm.write() to prevent synchronous console I/O + # bottlenecks and progress bar redraw interference when rendering rapid output. + tqdm.write(f"Device reachable at: {ip_address}") pbar.update(1) # Update progress bar print("Scanning complete.")