> Regardless, it works as is, and it's not *that* much code, but it
> just seems odd that if the work has already been done to determine
> the default background color, why not expose it? I suppose that's a
> question for the vty author.
I'll look at your code in depth later, but for now, I wanted to point
out that, in fact, no work at all has been done to determine the default
color. The "default attribute" (defAttr) simply means "do not emit
an explicit control sequence for any given color" leading to let the
terminal use its default.
--
Jonathan Daugherty