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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user