New popup handlers

This commit is contained in:
ChristianVisintin
2020-12-15 14:18:16 +01:00
parent d3fe546264
commit 88e27ee8fe
2 changed files with 45 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ impl InputHandler {
/// ### fetch_events
///
/// Check if new events have been received from handler
#[allow(dead_code)]
pub(crate) fn fetch_events(&self) -> Result<Vec<Event>, ()> {
let mut inbox: Vec<Event> = Vec::new();
loop {