summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-14 12:59:35 -0300
committerpommicket <pommicket@gmail.com>2023-08-14 12:59:35 -0300
commitefe5ae8cec7221779b9a6395eeb9b10b8974dd44 (patch)
tree4fd8162d810cf0a6e11a8d2505b6eabcb6a8e1c6 /main.c
parentccf3778572d461ef6319bd8c6b34fb68baea23ad (diff)
start new selector system - search not working yet
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index 230d987..65501c2 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,6 @@
/*
TODO:
-- public Selector/FileSelector API
+- selector search
- public Settings API
FUTURE FEATURES:
@@ -495,6 +495,7 @@ int main(int argc, char **argv) {
}
#endif
+ ted->file_selector = file_selector_new();
gl_geometry_init();
text_init();
menu_init(ted);
@@ -1203,6 +1204,8 @@ int main(int argc, char **argv) {
definitions_quit(ted);
menu_quit(ted);
arr_free(ted->edit_notifys);
+
+ file_selector_free(ted->file_selector); ted->file_selector = NULL;
for (int i = 0; i < TED_LSP_MAX; ++i) {