cview.Styles not being used #47
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/cview#47
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When setting
cview.Styles.PrimitiveBackgroundColor
and then later callingNewTabbedPanels()
, the background of that primitive (set inTabbedPanels.Switcher.Box
) does not appear to use the value fromcview.Styles
. This also happens withSetTabSwitcherDivider
.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 usecview.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.
Thanks for reporting this.
Can confirm this works for me. Thanks!