mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-12-05 14:44:41 -05:00
Adding Cache
This commit is contained in:
1 parent
f0641262bd
commit
cb77df0eb6
7 files changed
+160
-19
No files matched your search
@@ -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