diff options
author | ache <ache@ache.one> | 2017-08-14 00:15:02 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2017-08-14 00:15:02 +0200 |
commit | ba0333fb910bce10841d4c67d6cf3ce028558df8 (patch) | |
tree | 4a7117698d4982965d2f0d89e9a24dc979c0115e | |
parent | Control with arrows (diff) |
Usefull comments
-rw-r--r-- | basic_curses.c | 10 | ||||
-rw-r--r-- | item.c | 9 | ||||
-rwxr-xr-x | main.c | 4 | ||||
-rw-r--r-- | readline.c | 5 | ||||
-rw-r--r-- | regex.c | 2 | ||||
-rw-r--r-- | wind.c | 5 |
6 files changed, 34 insertions, 1 deletions
diff --git a/basic_curses.c b/basic_curses.c index 51bef2b..1a48b8d 100644 --- a/basic_curses.c +++ b/basic_curses.c @@ -1,5 +1,15 @@ +/* + * Ache - 2017-08-14 - GPLv3 + */ + #include "basic_curses.h" +/* + * Set of functions to easy print on the ncurse interface + */ + + + void printfc(char* fstrc, int max_length, ...) { int i = 0; int nbC = 0; @@ -1,5 +1,14 @@ +/* + * Ache - 2017-08-14 - GPLv3 + */ + #include "item.h" +/* + * Set of functions to manage a list of items (One file or directory is + * an item). + */ + int sort_i(const void* A, const void* B) { @@ -11,6 +11,10 @@ #include "item.h" #include "wind.h" +/* + * Entry point of metag and event loop + */ + #ifdef DEBUG @@ -1,7 +1,10 @@ - #include "readline.h" +/* + * Sets of functions to read a line with readline library and ncurses together + */ + static bool input_avail = false; static unsigned char input; @@ -1,5 +1,7 @@ #include "regex.h" +/* Manage regex */ + #define MAX_ERROR_MSG 0x1000 @@ -1,6 +1,11 @@ +/* + * Ache - 2017-08-14 - GPLv3 + */ #include "wind.h" +/* Managed windows */ + static short my_fg = COLOR_WHITE; |