mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-10-11 01:12:48 +02:00
ncurse selector for notes
This commit is contained in:
1 parent
d494159a58
commit
9a5e01f4b0
2 files changed
+3
-1
No files matched your search
@@ -213,7 +213,9 @@ int main() {
|
||||
printf("Available notes:\n");
|
||||
for (size_t i = 0; i < filesCount; i++) {
|
||||
printf("%s\n", filesArray[i]);
|
||||
}
|
||||
}
|
||||
char *noteSelected = ncursesSelect(filesArray, "note", filesCount);
|
||||
printf("Selected note: %s", noteSelected);
|
||||
} else if (vaultSelected == "Create a new vault") {
|
||||
|
||||
} else if (vaultSelected == "Settings") {
|
||||
|
||||
Reference in new issue
Block a user