aboutsummaryrefslogtreecommitdiffstats
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-18 19:19:18 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-18 19:19:18 +0100
commitdf1bc59812c87a006904b3aac0543f71cf5484e1 (patch)
treefdc6560e9e1a34cdf5367747216580d0f5bad437 /src/calcurse.h
parent25a049951cc955b51c2c30b977ebb6cfa7160054 (diff)
downloadcalcurse-df1bc59812c87a006904b3aac0543f71cf5484e1.tar.gz
calcurse-df1bc59812c87a006904b3aac0543f71cf5484e1.zip
Make automatic selection of todo items smarter
* Automatically focus new todo items after adding them to the list. * Keep selection when an item is moved (e.g. by changing its priority). * Focus the next item in the list when an item is removed. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index e6b343b..5d8c9e4 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -1026,7 +1026,7 @@ void todo_delete_note(struct todo *);
void todo_delete(struct todo *);
void todo_resort(struct todo *);
void todo_flag(struct todo *);
-int todo_get_position(struct todo *);
+int todo_get_position(struct todo *, int);
void todo_edit_note(struct todo *, const char *);
void todo_view_note(struct todo *, const char *);
void todo_free(struct todo *);