A bunch of stuff

This commit is contained in:
2021-03-17 12:37:26 -05:00
parent a925eec330
commit 23f96062f5
9 changed files with 41 additions and 36 deletions

View File

@@ -5,7 +5,7 @@ import (
"strconv"
"strings"
todotxt "github.com/br0xen/go-todotxt"
todotxt "git.bullercodeworks.com/brian/go-todotxt"
)
func (a *AppState) opListTasks(args []string) int {
@@ -19,6 +19,9 @@ func (a *AppState) opListTasks(args []string) int {
filterString = strings.Join(args, " ")
a.TaskList = a.getFilteredList(filterString)
}
a.TaskList.Sort(todotxt.SORT_USEFULNESS_ASC)
for _, v := range *a.TaskList {
fmt.Println(a.getTaskString(v))
lastIdx++