feat: vault indicator

This commit is contained in:
2026-06-02 14:37:39 +02:00
parent 19a8f7e07f
commit d47bdb82eb
+3 -2
View File
@@ -667,8 +667,9 @@ backup_config_end:
goto note_creation; goto note_creation;
} }
} }
noteSelected = ncursesSelect(filesArray, "Select note or journal to open (Use arrows or WASD, Enter to select or use 1-9 to quick select):", filesCount, extraNotesOptions, " ", char vaultMessage[PATH_MAX];
"Or select an option below", "", shouldDebug); snprintf(vaultMessage, PATH_MAX, "%s: Select note or journal to open (Use arrows or WASD, Enter to select or use 1-9 to quick select):", vaultSelected);
noteSelected = ncursesSelect(filesArray, vaultMessage, filesCount, extraNotesOptions, " ", "Or select an option below", "", shouldDebug);
// now that we won't use filesArray in this iteration of the loop, we should free it // now that we won't use filesArray in this iteration of the loop, we should free it
// and all its elements. (As this is memory in the heap and not the stack and thus // and all its elements. (As this is memory in the heap and not the stack and thus
// is our responsability to manage) // is our responsability to manage)