Chris Cummer
4a820dd0e5
Make every widget a keyboard widget
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 23:12:15 -08:00
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
bf877f5fa7
Constantize the defaultFocus value for each module
2019-09-22 18:12:29 -07:00
Sean Smith
14e7619075
Renormalize the redraw function
...
Have all instances take a function
Update the remaining modules to take this into account
Numerous smaller refactors to make some widgets work more or less the same
2019-08-27 21:51:37 -04:00
Chris Cummer
dbc047516d
Move all components responsible for module composition into /view
2019-08-04 21:42:40 -07:00
Chris Cummer
b07f3c5e67
Reimpliments the module configuration validation
...
Now supports displaying errors from multiple widgets.
2019-07-07 16:04:43 -07:00
Kirill Motkov
f0771cd013
Some code improvements
...
* Some assignments simplified by using assignment operators
* Rewrite switch statement with only one case as if.
* Rewrite if-else chain as a switch statement.
* go fmt `modules/todoist/project.go` file.
2019-05-21 17:29:09 +03:00
Sean Smith
42821b3102
Clean up drawing functionality
...
Fix up a bunch of missed places that can use the standardized `Redraw` method
2019-05-11 12:11:26 -04:00
Sean Smith
c328ba4c11
Split up logger and widget
...
This allows us to use the logger from the wtf directory
For example when trying to debug sort ordering in focus_tracker
2019-05-10 19:07:52 -04:00