aboutsummaryrefslogtreecommitdiffstats
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-18 18:09:23 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-18 18:09:23 +0100
commit1b75acf01b2f5a8d828aca3376022e156f1444ff (patch)
tree49a5481d8322fa50cfc9a480c2ee3da307bdc89f /src/calcurse.h
parente3ac5542aa1be85ae1116eea44142f85c80b4a34 (diff)
downloadcalcurse-1b75acf01b2f5a8d828aca3376022e156f1444ff.tar.gz
calcurse-1b75acf01b2f5a8d828aca3376022e156f1444ff.zip
Save active view on the todo panel
Add a configuration option appearance.todoview and use it to automatically save the currently active todo panel view and restore it when restarting calcurse. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 67f95fa..d2ee80b 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -1072,6 +1072,8 @@ void ui_todo_view_note(void);
void ui_todo_edit_note(void);
void ui_todo_view_prev(void);
void ui_todo_view_next(void);
+int ui_todo_get_view(void);
+void ui_todo_set_view(int);
/* utf8.c */
int utf8_width(char *);