lmfao dumb oversight fixed

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2024-11-13 13:39:25 -06:00
parent b490716232
commit b81babe426

View File

@ -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;