summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-18 18:52:24 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-18 18:52:24 +0100
commit25a049951cc955b51c2c30b977ebb6cfa7160054 (patch)
tree2d19f88a7d5b2c42ed9cda6e48f1849be3583355 /src/calcurse.h
parent4bd8717d8087f77926c91fb52250bd8ec533af1a (diff)
downloadcalcurse-25a049951cc955b51c2c30b977ebb6cfa7160054.zip
Improve ordering of todo items
* Show uncompleted items first. * Order uncompleted and completed items by priority. * Order items with the same priority alphabetically. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index d2ee80b..e6b343b 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -1024,6 +1024,7 @@ char *todo_hash(struct todo *);
void todo_write(struct todo *, FILE *);
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 *);
void todo_edit_note(struct todo *, const char *);