Chris Cummer
cde904ff08
Use errcheck to find unhandled errors ( #795 )
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-17 08:26:16 -08:00
Chris Cummer
523a0bec2c
Remove the need for every module to define a widget.Refresh keyboard control
2019-08-23 21:18:51 -07:00
Chris Cummer
5337656c58
Remove the need for every module to define a widget.ShowHelp keyboard control
...
This common functionality is moved up to KeyboardWidget. Modules now
include widget.InitializeCommonControls() instead.
2019-08-23 21:18:51 -07:00
Sean Smith
a2f5db7847
Harmonize keyboard controls
...
Make sure everyone has a refresh option
Have specific ordering:
- Help
- Refresh
- Select next
- Select prev
- ...
Add unselect where applicable
2019-05-20 18:45:08 -04:00
Sean Smith
7f3daaac59
Have keyboard widget manage its own help
...
Define help with keys
This means that keys and help are automatically in sync
This means that you can't define keys, but forget help
This unfortunately also means that formatting may not be quite as good
2019-05-11 12:15:52 -04:00
Chris Cummer
2d0706c40b
WTF-427 Use new keyboard implementation for widgets. Closes #427
2019-05-06 12:54:07 -07:00