summaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-08-12 10:56:36 +0300
committerPaul Buetow <paul@buetow.org>2021-08-12 10:56:36 +0300
commit3cc8887885f24a3f0d607af24197bc364ab16b8d (patch)
tree48e85a54d3e4f6139001a58a3e57dd03b27c780a /internal/config
parent1e00c256842e125a865a6cc3f9aa70a1a498f6dc (diff)
add missing brush and also add color client configs plus jsonschema
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/client.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/config/client.go b/internal/config/client.go
index 5386576..c1b488c 100644
--- a/internal/config/client.go
+++ b/internal/config/client.go
@@ -52,14 +52,14 @@ type termColors struct {
// ClientConfig represents a DTail client configuration (empty as of now as there
// are no available config options yet, but that may changes in the future).
type ClientConfig struct {
- TermColorsEnabled bool
- TermColors termColors `json:",omitempty"`
+ TermColorsEnable bool
+ TermColors termColors `json:",omitempty"`
}
// Create a new default client configuration.
func newDefaultClientConfig() *ClientConfig {
return &ClientConfig{
- TermColorsEnabled: true,
+ TermColorsEnable: true,
TermColors: termColors{
ClientErrorAttr: color.AttrBold,
ClientErrorBg: color.BgBlack,