Commit 2f2f3573 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Mark completed items with a 'x' in the column UI

parent 9b9ea051
...@@ -58,6 +58,10 @@ class TodoWidget(urwid.WidgetWrap): ...@@ -58,6 +58,10 @@ class TodoWidget(urwid.WidgetWrap):
self.todo = p_todo self.todo = p_todo
todo_text = TEXT_FORMATTER.parse(p_todo) todo_text = TEXT_FORMATTER.parse(p_todo)
if p_todo.is_completed():
priority_text = ' x '
else:
priority_text = PRIO_FORMATTER.parse(p_todo) priority_text = PRIO_FORMATTER.parse(p_todo)
# split todo_text at each occurrence of tag/project/context/url # split todo_text at each occurrence of tag/project/context/url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment