Add a read-only option
We don't save any configuration nor items if this is set. This should be used with care, and hence there's no short option for this. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -58,6 +58,9 @@ int foreground, background;
|
||||
*/
|
||||
enum ui_mode ui_mode = UI_CMDLINE;
|
||||
|
||||
/* Don't save anything if this is set. */
|
||||
int read_only = 0;
|
||||
|
||||
/*
|
||||
* variables to store calendar names
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user