cview.Styles not being used
When setting cview.Styles.PrimitiveBackgroundColor
and then later calling NewTabbedPanels()
, the background of that primitive (set in TabbedPanels.Switcher.Box
) does not appear to use the value from cview.Styles
. This also happens with SetTabSwitcherDivider
.
In an unrelated instance, the ANSI conversion injects strings like [-:-:-]
into the output, but this will reset the background to the terminal's background instead of the app's background. Either the ANSI conversion funcs should be changed, or setting the background to -
should use cview.Styles.PrimitiveBackgroundColor
instead of the terminal's background. I believe that latter makes more sense.
All these problems can be easily circumvented, through manual color setting or string replacment in the ANSI case, but it would be nice if cview handled it.