summaryrefslogtreecommitdiffstats
path: root/src/ui-todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui-todo.c')
-rw-r--r--src/ui-todo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui-todo.c b/src/ui-todo.c
index 8daf283..49cf371 100644
--- a/src/ui-todo.c
+++ b/src/ui-todo.c
@@ -199,6 +199,11 @@ void ui_todo_load_items(void)
listbox_load_items(&lb_todo, n);
}
+void ui_todo_sel_reset(void)
+{
+ listbox_sel_move(&lb_todo, 0);
+}
+
void ui_todo_sel_move(int delta)
{
listbox_sel_move(&lb_todo, delta);