fixes file search

This commit is contained in:
2026-08-20 18:33:07 +03:00
parent 0ee52bc2ea
commit 5021f61c80
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -1,8 +1,6 @@
# TODO: # TODO:
## Current: ## Current:
- [ ] Integration of double-linked file list in file_list (files from server)
- [ ] Check search option
## Future: ## Future:
- [ ] File catalogs (or tags) - [ ] File catalogs (or tags)
+1 -1
View File
@@ -45,7 +45,7 @@ static void w_fl_cb(w_cb_args_t *args) {
} }
server_send_string(app->query_args, "%s %d %d\n", q_prefix, server_send_string(app->query_args, "%s %d %d\n", q_prefix,
fui->max_lines, 1); fui->max_lines, 1);
w_fl_reset(fui); fl_clear(fui->f_list);
} else { } else {
bconchar(fui->search_key, key); bconchar(fui->search_key, key);
w_fl_draw(fui); w_fl_draw(fui);