Closed kanielrkirby closed 6 months ago
Great work, this cleans everything up considerably, found a bit of state weirdness.
q
or esc
don't work.I'll see if I can address those concerns here in the next couple days in my free time.
Addressed those issues. Looks like the state issues are caused by assigning list.KeyMap
values directly. They provide methods SetHelp
and SetKeys
for this purpose, which they actually respect.
Looks great, thanks @kanielrkirby
Fixes #64.
key.go
to handle keybindings withbubbles/key
.tui.go
to use keybindings defined inkey.go
.model.help
to handle help messages.list.KeyMap.CancelWhileFiltering
toq
.viewport
full help menu, extracted help keys tokey.go
.g
viewport keybinding to be consistent withlist
.list
overrides intokey.go#SetOverrides
.