diff options
author | Sean E. Russell <ser@ser1.net> | 2020-04-23 10:41:20 -0500 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-04-23 10:41:20 -0500 |
commit | 5ada5315d940038fcd83777b1e73797bbbada108 (patch) | |
tree | 14af5297197ecc43e50ff7cafa8154fda55dd72f /colorschemes | |
parent | 3fcab5a42054c84895c4f6da5097360d35414fde (diff) |
Fixes #92, configurable temps; help text & docs clean-up; versions are now built into binaries at compile time; clean up old extensions params; adds --list command; adds --write-config command; fixes bug in colorscheme loading; fixes bug in Colorschemes -- all had empty Name attrs; adds ability to list devices.
Diffstat (limited to 'colorschemes')
-rw-r--r-- | colorschemes/registry.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/colorschemes/registry.go b/colorschemes/registry.go index b6263c9..d120eb8 100644 --- a/colorschemes/registry.go +++ b/colorschemes/registry.go @@ -29,6 +29,7 @@ func register(name string, c Colorscheme) { if registry == nil { registry = make(map[string]Colorscheme) } + c.Name = name registry[name] = c } |