diff --git a/src/ui/buttons.rs b/src/ui/buttons.rs index e04e740..a5fcfcb 100644 --- a/src/ui/buttons.rs +++ b/src/ui/buttons.rs @@ -38,7 +38,7 @@ mod evd { Ok(Self {}) } - pub fn fetch_events(&mut self) -> Result { + pub fn fetch_events(&mut self) -> Result, ()> { loop { std::thread::park() }