export config struct fields, add convenience methods for value fetching

This commit is contained in:
Bradley Cicenas
2017-02-16 04:06:05 +00:00
parent 5bbce31601
commit a1f860a020
8 changed files with 67 additions and 65 deletions

View File

@@ -64,7 +64,7 @@ func SortMenu() {
}
// set cursor position to current sort field
//current := config.Get("sortField")
//current := config.GetVal("sortField")
//for n, item := range m.Items {
//if item.Val == current {
//m.CursorPos = n