Closed gpanders closed 3 weeks ago
Perhaps not a regression, but just a bug fix. Updating my code to use SetAutocompleteStyles(tcell.ColorBlack, tcell.StyleDefault.Background(tcell.ColorBlack), tcell.StyleDefault.Reverse(true))
makes it work as expected.
Problem
Using
SetAutocompleteStyles(tcell.ColorBlack, tcell.StyleDefault, tcell.StyleDefault.Reverse(true))
the background color of the autocomplete window should be ANSI color 0 (black) and the foreground color should use the terminal's default foreground color. Selected items should be reversed.With my terminal color scheme, it looks like this before 03bdc867bee4ce7355079090c396d9ec861fc4bb:
After 03bdc867bee4ce7355079090c396d9ec861fc4bb, it looks like this:
Note that while the background of the window is still using color 0, the background color of the text is using the
Default
color (the terminal's background color rather than color 0).