diff --git a/TODO.md b/TODO.md index d3bfc4a..3b11ac8 100644 --- a/TODO.md +++ b/TODO.md @@ -1,13 +1,13 @@ # TODO: ## Current: -- [ ] Upload menu disappears after alert (when opening link to non-existing directory for example). - [ ] Sorting in file list -- [x] PageUp/PageDown key functionality in lists - [ ] File upload multiline description (window) -- [x] Permission checkboxes for file upload/edit - [ ] More intuitive navigation between nested groups (by pressing left and right buttons) - [ ] 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: - [ ] Sometimes segfaults while navigating through modal menu (try use controlling byte) diff --git a/src/widget/alert.c b/src/widget/alert.c index a646af5..80e7602 100644 --- a/src/widget/alert.c +++ b/src/widget/alert.c @@ -45,7 +45,7 @@ void notification(const char *title, enum dc_color_scheme color, wrefresh(d->win); int c = 0; - while ((c = wgetch(d->win))) { + while ((c = wgetch(app->win))) { if (c == '\n') break; }