mirror of
https://github.com/taigrr/gico.git
synced 2026-04-01 18:58:59 -07:00
add cursor and struct for settings
This commit is contained in:
@@ -21,6 +21,9 @@ const (
|
|||||||
settings Cursor = iota
|
settings Cursor = iota
|
||||||
graph
|
graph
|
||||||
commitLog
|
commitLog
|
||||||
|
|
||||||
|
authors SettingsCursor = iota
|
||||||
|
repos
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
@@ -44,8 +47,15 @@ type (
|
|||||||
Repos []string
|
Repos []string
|
||||||
Table table.Model
|
Table table.Model
|
||||||
}
|
}
|
||||||
Settings struct{}
|
SettingsCursor int
|
||||||
Graph struct {
|
Settings struct {
|
||||||
|
AllAuthors []string
|
||||||
|
SelectedAuthors []string
|
||||||
|
AllRepos []string
|
||||||
|
SelectedRepos []string
|
||||||
|
cursor SettingsCursor
|
||||||
|
}
|
||||||
|
Graph struct {
|
||||||
Selected int
|
Selected int
|
||||||
Year int
|
Year int
|
||||||
Repos []string
|
Repos []string
|
||||||
|
|||||||
Reference in New Issue
Block a user