#include <ncurses.h>
#include <menu.h>
+#define SELECTED_COLOR 1
+#define NON_SELECTED_COLOR 2
+
+struct todo_item {
+ char* name;
+ char* description;
+ char** items;
+};
+
void winch_handler(int sig);
char** read_todo(FILE* file, int* length);
void free_todo(char** todo_list, int todo_length);
-struct todo_item {
- char* name;
- char* description;
- char** items;
-};
-
#include "config.h"
-#define SELECTED_COLOR 1
-#define NON_SELECTED_COLOR 2
-
int
main(int argc, char** argv)
{