Closed SevereOverfl0w closed 2 years ago
It is the behavior I copied from a library I used before(either for code simplicity or for another reason it did the same): marking a todo done never created a new task, it always modified existing one. Later I discovered that some todo apps create a new todo and mark old one done. But I kept the old way as I was fine with it and nobody asked for a change. On the other hand, marking "done" and creating a new todo let a person to track the number of done tasks more correctly.
As I see, this task needs the same code changes as #52. I'll do it.
Implemented in just published 3.1.0
In the following, I would expect the final command to output differently.
Instead, I would expect todo.txt to contain: