ui: close modal on pressing escape (not everywhere)

This commit is contained in:
2026-01-23 13:50:26 +02:00
parent 50952f324d
commit b81211c764
12 changed files with 29 additions and 56 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ void login_modal_option_cb(callback_args_t *args) {
case 0:
break;
case 1:
destroy_dialogue(d, app);
d->needs_destroy = true;
app->query_args->state = S_ASK_LOGIN_USER;
break;
}