mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
Adding Cache
This commit is contained in:
@@ -13,6 +13,7 @@ type GlobalKeyMap struct {
|
||||
Down key.Binding
|
||||
Enter key.Binding
|
||||
Back key.Binding
|
||||
Year key.Binding
|
||||
}
|
||||
|
||||
// GlobalKeys is the singleton global key map.
|
||||
@@ -53,6 +54,10 @@ var GlobalKeys = GlobalKeyMap{
|
||||
key.WithKeys("b"),
|
||||
key.WithHelp("b", "back"),
|
||||
),
|
||||
Year: key.NewBinding(
|
||||
key.WithKeys("y"),
|
||||
key.WithHelp("y", "switch year"),
|
||||
),
|
||||
}
|
||||
|
||||
// StandingsKeyMap holds standing-specific keybindings.
|
||||
|
||||
Reference in New Issue
Block a user