Commit ab4566c1 authored by Jacek Sowiński's avatar Jacek Sowiński

Revert last command by pressing 'u'

parent 1f742805
......@@ -124,6 +124,8 @@ class TodoListWidget(urwid.LineBox):
self.keystate = 'p'
elif p_key == 'd':
self._remove_selected_item()
elif p_key == 'u':
urwid.emit_signal(self, 'execute_command', "revert")
elif p_key == 'j':
self.listbox.keypress(p_size, 'down')
elif p_key == 'k':
......
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