kiblee / tod0

A Terminal Client for Microsoft To-Do
MIT License
121 stars 19 forks source link

Change: keep index position when reloading tasks #64

Open eight04 opened 3 months ago

eight04 commented 3 months ago

Before this PR, if you want to archive the 3rd and the 4th tasks, you have to:

  1. jj - focus the 3rd task.
  2. cy\n - complete and reload the list.
  3. jj - focus the 3rd task again (the task was the 4th before step 2.)
  4. cy\n - complete.

After this PR:

  1. jj - focus the 3rd task.
  2. cy\n - complete and reload the list.
  3. cy\n - complete.