From 25a049951cc955b51c2c30b977ebb6cfa7160054 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 18 Jan 2016 18:52:24 +0100 Subject: 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 --- src/calcurse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/calcurse.h') 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 *); -- cgit v1.2.3