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
-3
View File
@@ -45,9 +45,6 @@ void query_loop(app_t *app) {
for (;;) {
/* update screen */
if (query_args->state == S_WAIT_SERVER && app->modal.is_initiated) {
destroy_dialogue(&(app->modal), app);
}
app_draw_modal(app);
app_refresh(app);