diff --git a/README.md b/README.md index 0ee3458..8fd966d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ make - [x] Add a way to create vaults - [x] Add a way to delete vaults - [ ] Add a way to delete notes -- [ ] Stylisize a bit the TUI +- [x] Stylisize a bit the TUI - [ ] Add more options to the config file - [ ] Search for config.json in other directories such as ~/.config/notewrapper/ and not only this directory - [x] Port vivify.vim to nixpkgs diff --git a/startup.c b/startup.c index 4870b63..9f6a931 100644 --- a/startup.c +++ b/startup.c @@ -223,7 +223,7 @@ char** getNotesFromVault(char *pathToVault, char *vault, int *count, int debug) return notesArray; } -char* ncursesSelect(char **options, char *optionsText, size_t optionsNumber, int extraOptionsNumber, int debug) { +char* ncursesSelect(char **options, char *optionsText, size_t optionsNumber, size_t extraOptionsNumber, int debug) { // this function is used multiple times let the user select one options from many. // options is the array of strings with all the options. // one of this option will be returned