Use terminal color library

This commit is contained in:
2021-03-07 10:28:21 -06:00
parent 518e304948
commit 40851c6a62
5 changed files with 36 additions and 21 deletions

View File

@ -42,7 +42,7 @@ func ShowCmd(args CmdArgs) (int, error) {
"Light ID: %s, %s, Power: %s\n",
l.Id,
connected(l.Connected),
powerColor(l.Power),
ColorizePower(l.Power),
)
indent += Tabstop
PrintfWithIndent(indent, "Label: %s, ID: %s\n", l.Label, l.Id)