cview.Styles not being used
Closedopened 2 years ago by makeworld-the-better-one · 2 comments
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
cview.Styles.PrimitiveBackgroundColorand 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
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
cview.Styles.PrimitiveBackgroundColorinstead 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.
Thanks for reporting this.
Can confirm this works for me. Thanks!