A bunch of stuff
This commit is contained in:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user