Adding Cache

This commit is contained in:
2026-03-03 01:16:04 -05:00
parent f0641262bd
commit cb77df0eb6
7 changed files with 160 additions and 19 deletions

View File

@@ -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.