add cursor and struct for settings

This commit is contained in:
2023-02-21 22:43:09 -08:00
parent 009c198cde
commit b813a818fe

View File

@@ -21,6 +21,9 @@ const (
settings Cursor = iota
graph
commitLog
authors SettingsCursor = iota
repos
)
type (
@@ -44,7 +47,14 @@ type (
Repos []string
Table table.Model
}
Settings struct{}
SettingsCursor int
Settings struct {
AllAuthors []string
SelectedAuthors []string
AllRepos []string
SelectedRepos []string
cursor SettingsCursor
}
Graph struct {
Selected int
Year int