mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-08-12 02:18:38 +02:00
createNewNote() now works with journals
This commit is contained in:
@@ -10,11 +10,13 @@
|
||||
#include <pwd.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <regex.h>
|
||||
#include "utils.h"
|
||||
char *createNewNote(char dirToVault[PATH_MAX], char *vaultFromDir, char *bypass, int debug);
|
||||
char *createNewNote(char dirToVault[PATH_MAX], char *vaultFromDir, char *bypass, char *journalRegex, int debug);
|
||||
// Uses ncurses to get an input from the user
|
||||
// Creates a new note with this input
|
||||
// returns the path to the note
|
||||
// also can create a journal if the name matches with journalRegex
|
||||
// returns the name of the note
|
||||
void createNewVault(char *dirToVault, int debug);
|
||||
// Uses ncurses to get an input from the user
|
||||
// Creates a new vault with this input
|
||||
|
||||
Reference in New Issue
Block a user