Fix: consume event on startup screen
This commit is contained in:
@@ -69,9 +69,7 @@ pub fn handle_key(ctx: &mut InputContext, key: KeyEvent) -> InputResult {
|
||||
|
||||
if ctx.app.ui.show_title {
|
||||
ctx.dispatch(AppCommand::HideTitle);
|
||||
if matches!(key.code, KeyCode::Char('q') | KeyCode::Esc) {
|
||||
return InputResult::Continue;
|
||||
}
|
||||
return InputResult::Continue;
|
||||
}
|
||||
|
||||
ctx.dispatch(AppCommand::ClearStatus);
|
||||
|
||||
Reference in New Issue
Block a user