AnthonyDiGirolamo / todotxt-machine

an interactive terminal based todo.txt file editor with an interface similar to mutt
https://pypi.python.org/pypi/todotxt-machine/
GNU General Public License v3.0
245 stars 37 forks source link

bug: marking as done uses unsorted index #5

Closed jpouellet closed 10 years ago

jpouellet commented 10 years ago

Steps to reproduce:

test-todo.txt:

(A) first
(B) second

todotxt-machine -f ./test-todo.txt

Notice that that (A) first gets marked as done instead. (and this is not the line selected while pressing x)

resulting test-todo.txt:

(B) second
x 2014-07-25 (A) first
AnthonyDiGirolamo commented 10 years ago

That was worse than I thought, editing an item when reverse sorted would updated the wrong todo also. Fixed now :-)