X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=views%2Ftodo.c;h=58c3b8b37bcb62d5ca5cf98fa50c50abd23fc3d4;hb=b90716f36fac6e8c16dabd981cd47eeb9a8ec4f1;hp=fd79b21212044e89e43dab0c326f1c593990bfc3;hpb=daded0f3fb930e7758e1009683c0cdb46eada3f6;p=lackey diff --git a/views/todo.c b/views/todo.c index fd79b21..58c3b8b 100644 --- a/views/todo.c +++ b/views/todo.c @@ -47,7 +47,9 @@ static int print_group(WINDOW *win, int row, todo_t *todos, int n = 1; /* Label */ + wattron(win, A_BOLD); mvwprintw(win, row, 0, "%s", label); + wattroff(win, A_BOLD); /* Todos */ if (show) @@ -110,5 +112,5 @@ int todo_run(int key, mmask_t btn, int row, int col) todo_draw(); wrefresh(win); } - return 0; + return ref; }