Re: TUI enhancement suggestion.

Phi Debian
2020-06-09T14:32:24Z

Well, I don't mange or setup anything regarding the reverse video.

I use mate (gnome2) on debian, and on some HW I use ubuntu HWE, I use
mainly xterm, but may end up using terminator, then the VTE.

My terminal basic setup is a darkgreen background, on lite green
foreground, for my day to day work so basically xterm is spawned with

-bg \#003000 -fg green

Then color enter the dance, depending on soft, (gdb vs less vs git grep
make, name it) things varies but long story short gdb only use the first 8
colors of the colormap (by name) so I use a mapping like this for xterm,
VTE.
c=(
rgb:8888/8888/8888 # black
rgb:ffff/8888/8888 # red
rgb:0000/cdcd/0000 # green
rgb:cdcd/cdcd/0000 # yellow
rgb:8888/8888/ffff # blue
rgb:ffff/8888/ffff # magenta
rgb:8888/ffff/ffff # cyan
rgb:ffff/ffff/ffff # white
)

So gdb look nice, and the syntax highlight is nice too (BTW thanx to whom
implemented the syntax highlight, I mean source highlite)

For git or other, we can setup the color we want in the 256 color palette,
so it is easier.

I doubt this setup screw up the reverse video... but If you need me to
tweak thing to test color combinations, let me know.

I can provide a patch built on the lates 9.2 pull if you want to look the
underline on the point line, I find it aesthetical.
I implemented it in a way that extend the 'attribute' not limiting to DIM,
BOLD, and when placed only on the leading white space of the source line it
is not too intrusive.

Lemme know

Cheers,
Phi