1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

13 Commits

Author SHA1 Message Date
Tim Scheuermann
4e529b49e6 Expose the widget dimensions to commands in cmdrunner 2019-10-09 14:55:23 +02:00
Tim Scheuermann
0629e28105 Set a proper default line limit 2019-10-07 22:15:14 +02:00
Tim Scheuermann
45b9555633 CmdRunner now updates view while running 2019-10-07 22:10:51 +02:00
Chris Cummer
bf877f5fa7 Constantize the defaultFocus value for each module 2019-09-22 18:12:29 -07:00
Chris Cummer
4e46fff145 Move the utils.go file into the /utils directory 2019-08-05 10:50:12 -07:00
Chris Cummer
c17678013d Fix a couple of 'go vet' issues 2019-08-03 17:16:50 -07:00
Sean Smith
c1eb75de1a Add more settings helpers to widgets 2019-07-03 19:24:17 -04:00
Sean Smith
14abd422b2 Add default titles, to mimic original behavior
Have the modules set their own titles
If no title is specified, use this title, rather than default to name
2019-04-30 23:38:37 -04:00
Sean Smith
3a96c303a8 Allow duplicates of modules
This leverages the recent config changes, extending it so that config is literally using passed config, rather than
passed config value
Uses cmdRunner as an example for #181
Because config turns into a map, names are the root keys, and an optional type is provided
2019-04-30 23:33:59 -04:00
Sean Smith
5abd701b40 Decouple modules from global config
Rather than referencing wtc.Config, instead pass the global config
Also, look up config for the module early and pass that in sooner, to deal with fewer long paths and get rid of the
ConfigKey variable
2019-04-27 22:26:23 -04:00
Chris Cummer
b50c762dab WTF-400 Move name and configKey values from widget to settings 2019-04-17 17:16:26 -07:00
Chris Cummer
2807a2200e WTF-400 Fix missed wtf.Config occurrances 2019-04-16 21:52:10 -07:00
Chris Cummer
73e0e18ebc WTF-400 CmdRunner extracted to new config format 2019-04-15 10:05:57 -07:00