diff --git a/src/main.rs b/src/main.rs index b567281..6235b9e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,7 +44,6 @@ fn main() { let initial_polling_rate: u64 = 50; let initial_scroll_left: bool = true; - if args.autoscroll { // polling thread thread::spawn(move || { let mut polling_rate = initial_polling_rate; @@ -59,7 +58,6 @@ fn main() { thread::sleep(Duration::from_millis(100)); // poll every 50 ms } }); - } // main thread let mut polling_rate = initial_polling_rate; let mut scroll_left = initial_scroll_left;