1package game23import "charm.land/bubbles/v2/key"45// CursorKeyMap defines the shared cursor movement key bindings.6type CursorKeyMap struct {7 Up key.Binding8 Down key.Binding9 Left key.Binding10 Right key.Binding11}1213// DefaultCursorKeyMap provides the standard cursor movement bindings.14var DefaultCursorKeyMap = CursorKeyMap{15 Up: key.NewBinding(16 key.WithKeys("k", "up", "w"),17 key.WithHelp("↑/w/k", "Up"),18 ),19 Down: key.NewBinding(20 key.WithKeys("j", "down", "s"),21 key.WithHelp("↓/s/j", "Down"),22 ),23 Left: key.NewBinding(24 key.WithKeys("h", "left", "a"),25 key.WithHelp("←/a/h", "Left"),26 ),27 Right: key.NewBinding(28 key.WithKeys("l", "right", "d"),29 key.WithHelp("→/d/l", "Right"),30 ),31}