diff --git a/cccli/command/tagdisplay.py b/cccli/command/tagdisplay.py index 3d60d890de90c32c9ae14cdbe7ffb32a6f583b73..cc0bcd60285b270431d188198a11e4261d006855 100644 --- a/cccli/command/tagdisplay.py +++ b/cccli/command/tagdisplay.py @@ -42,6 +42,10 @@ class Command_tagdisplay(OptionCommand): self.set("color", self.args, self.options.setcolor) elif len(self.args) > 0 and self.options.delcolor: self.set("color", self.args, None) + elif len(self.args) > 0 and self.options.settitlecolor: + self.set("titlecolor", self.args, self.options.settitlecolor) + elif len(self.args) > 0 and self.options.deltitlecolor: + self.set("titlecolor", self.args, None) elif len(self.args) > 0 and self.options.settype: self.set("type", self.args, self.options.settype) elif len(self.args) > 0 and self.options.deltype: @@ -66,6 +70,9 @@ class Command_tagdisplay(OptionCommand): self.printer.out("%sMy tag colors:%s"%(color["lblue"], color["reset"])) for (u,v) in self.cli.tagdisplay.tagcolor.items(): self.printer.out("%s: %s"%(u,v)) + self.printer.out("%sMy tag tiltecolors:%s"%(color["lblue"], color["reset"])) + for (u,v) in self.cli.tagdisplay.tagtitlecolor.items(): + self.printer.out("%s: %s"%(u,v)) self.printer.out("%sMy tag types:%s"%(color["lblue"], color["reset"])) for (u,v) in self.cli.tagdisplay.tagtype.items(): self.printer.out("%s: %s"%(u,v)) @@ -81,6 +88,9 @@ class Command_tagdisplay(OptionCommand): if what == "color": db = self.cli.tagdisplay.tagcolor vdb = [ c for c in color.keys() if c.isalpha() ] + elif what == "titlecolor": + db = self.cli.tagdisplay.tagtitlecolor + vdb = [ c for c in color.keys() if c.isalpha() ] elif what == "type": db = self.cli.tagdisplay.tagtype vdb = self.cli.tagdisplay.types