Made the monitor actually usable now

This commit is contained in:
2025-09-19 15:26:39 +02:00
parent 80dd1c1a70
commit dcbdc9ff89

View File

@@ -81,12 +81,11 @@ impl Monitor {
for (hook_key, _) in &self.hooks {
if hook_key == &key {
stdout.write_all(b"\r\n")?;
break 'main Ok(key)
}
}
println!("{:?}\r", key);
} else {
std::thread::sleep(Duration::from_millis(100));
}
}
}