like `match (app.state, event.code)` and then match arms would be `(State::Default, KeyCode::Char('q')) => {}` Thanks to TheRoboMan#5720