Re: TUI enhancement suggestion.

Pedro Alves
2020-06-11T10:17:33Z

On 6/10/20 9:25 PM, Phi Debian wrote:
>
>
> On Wednesday, June 10, 2020, Pedro Alves <palves@redhat.com <mailto:palves@redhat.com>> wrote:
>
> Hi Phi,
>
> It would be much better to keep the discussion on the
> mailing list, so that others could interact as well.
>
> Thanks,
> Pedro Alves
>
>
> Ok. Point line in src win along with the nice syntax highlight produce inconsistent background color as Pedro notified in the pics provided. In the example there is a strange yellow background on function names, it seems that the syntax highlight use a BOLD attribute. On basic xterm and vte, this BOLD goes unnoticed. When one use xterm resource colorBD see https://invisible-island.net/xterm/ctlseqs/ctlseqs.html resource also implemented in vte, resource doing the  mapping a color to the BOLD attribute (in the example yellow) it produces this background  color change.
>
> Dunno if that expected.

I don't know much about these color mappings, but to me it looks like a bug offhand that
requesting "bold" affects the background color. It would think that "bold" makes the
foreground text... bold.

>
> I'd like to be able to got more control (config) on how point line is displayed, in my case using underline attribute for point line would be lighter then reverse video line and would preserve (simplify) the syntax highlight.

If you like it better that way, then maybe others do too. I don't mind the
new option.

I also wouldn't mind an option to specify a different background color
for the current source line highlight.

>
> If someones as idea would be interesting to share.
>
> Cheers,
> Phi

Thanks,
Pedro Alves