From: Stephen Seo Date: Thu, 16 Sep 2021 04:56:06 +0000 (+0900) Subject: Also let "Q" quit application X-Git-Tag: 0.1.0~38 X-Git-Url: https://git.seodisparate.com/stephenseo/client_config?a=commitdiff_plain;h=f55be0fe51d2d8fe31f13bc8074358ff944ae452;p=mpd_info_screen Also let "Q" quit application --- diff --git a/src/main.rs b/src/main.rs index 28752ee..6bf00eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -441,7 +441,7 @@ async fn main() -> Result<(), String> { let dt: f64 = get_frame_time() as f64; clear_background(BLACK); - if is_key_pressed(KeyCode::Escape) { + if is_key_pressed(KeyCode::Escape) || is_key_pressed(KeyCode::Q) { break 'macroquad_main; }