Added a way to configure settings from the app

This commit is contained in:
Tomas Rivera
2026-03-31 11:53:58 +02:00
parent 929b9ab10e
commit 60f5be3405
+2 -1
View File
@@ -297,7 +297,8 @@ int main(int argc, char *argv[]) {
} else if (strcmp(vaultSelected,"Create a new vault") == 0) {
} else if (strcmp(vaultSelected,"Settings") == 0) {
//(TODO LATER) add a way to change the config.json from the app or at least show all the options
// (TODO LATER) add a way to modify the path to config.json
openNvim("./config.json", debug);
} else if (strcmp(vaultSelected,"Quit (Ctrl+C)") == 0) {
if (debug) {printf("\e[0;32m[DEBUG]\e[0m The program was exited.\n");}
shouldExit = 1;