fixes key reaction after alert

This commit is contained in:
2026-03-26 16:47:43 +02:00
parent 74308da770
commit 0da3cbf5bc
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
# TODO: # TODO:
## Current: ## Current:
- [ ] Upload menu disappears after alert (when opening link to non-existing directory for example).
- [ ] Sorting in file list - [ ] Sorting in file list
- [x] PageUp/PageDown key functionality in lists
- [ ] File upload multiline description (window) - [ ] File upload multiline description (window)
- [x] Permission checkboxes for file upload/edit
- [ ] More intuitive navigation between nested groups (by pressing left and right buttons) - [ ] More intuitive navigation between nested groups (by pressing left and right buttons)
- [ ] Cancel upload/download - [ ] Cancel upload/download
- [x] PageUp/PageDown key functionality in lists
- [x] Permission checkboxes for file upload/edit
- [x] Upload menu disappears after alert (when opening link to non-existing directory for example).
## Bugs: ## Bugs:
- [ ] Sometimes segfaults while navigating through modal menu (try use controlling byte) - [ ] Sometimes segfaults while navigating through modal menu (try use controlling byte)
+1 -1
View File
@@ -45,7 +45,7 @@ void notification(const char *title, enum dc_color_scheme color,
wrefresh(d->win); wrefresh(d->win);
int c = 0; int c = 0;
while ((c = wgetch(d->win))) { while ((c = wgetch(app->win))) {
if (c == '\n') if (c == '\n')
break; break;
} }