Updated go-timertxt library
This commit is contained in:
parent
3165c0254d
commit
34208ad5c9
@ -38,7 +38,7 @@ func (p *Program) LoadTimerList() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
tl.Sort(timertxt.SORT_UNFINISHED_START)
|
tl.Sort(timertxt.SortUnfinishedStart)
|
||||||
p.TimerList = tl
|
p.TimerList = tl
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
@ -97,8 +97,8 @@ func (s *listTimersScreen) Init() wandle.Cmd {
|
|||||||
s.fullList.AddTimers(s.timerList.GetTimerSlice())
|
s.fullList.AddTimers(s.timerList.GetTimerSlice())
|
||||||
s.fullList.AddTimers(s.doneList.GetTimerSlice())
|
s.fullList.AddTimers(s.doneList.GetTimerSlice())
|
||||||
s.timerFilterList, s.doneFilterList = s.timerList, s.doneList
|
s.timerFilterList, s.doneFilterList = s.timerList, s.doneList
|
||||||
s.timerFilterList.Sort(timertxt.SORT_START_DATE_DESC)
|
s.timerFilterList.Sort(timertxt.SortStartDateDesc)
|
||||||
s.doneFilterList.Sort(timertxt.SORT_START_DATE_DESC)
|
s.doneFilterList.Sort(timertxt.SortStartDateDesc)
|
||||||
s.updateFullFilterList()
|
s.updateFullFilterList()
|
||||||
w, h := termbox.Size()
|
w, h := termbox.Size()
|
||||||
s.choiceMenu.SetBorder(wandle.BRD_CSIMPLE)
|
s.choiceMenu.SetBorder(wandle.BRD_CSIMPLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user