pub fn apply(app: &mut App, intent: Intent)
Apply an intent to the app. The caller (the real event loop) is responsible for translating crossterm key events into intents.