[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] styling of colour pairs
From: |
Thorsten Glaser |
Subject: |
[Lynx-dev] styling of colour pairs |
Date: |
Wed, 11 Nov 2020 02:45:14 +0000 (UTC) |
Hi,
I would like to style some colour pairs in xterm a bit
differently from others.
I have these resources (among others):
XTerm*VT100*color0: rgb:00/00/00
XTerm*VT100*color4: rgb:00/00/AA
XTerm*VT100*color7: rgb:AA/AA/AA
XTerm*VT100*color8: rgb:55/55/55
XTerm*VT100*color12: rgb:55/55/FF
XTerm*VT100*color15: rgb:FF/FF/FF
The combination of blue on black, whether bright blue
or not, is not very legible:
printf '\033[0;34;40m foo \033[1m bar \033[0m\n'
The “bar” is bright enough, but the “foo” is illegible
to the extent I changed lynx’ and jupp’s styles for
lss and syntax highlighting to avoid blue-on-black. On
the other hand, this blue is perfectly fine as background
colour, such as:
printf '\033[0;1;33;44m baz \033[0m\n'
In fact, it *must not* be any brighter there.
Can you please add the ability to style colour pairs
to xterm, so that I can add suitable Xresources entries
to style (4,0) and (12,0) differently from the normal
colour4 and colour12?
Thanks in advance,
//mirabilos
--
[16:04:33] bkix: "veni vidi violini"
[16:04:45] bkix: "ich kam, sah und vergeigte"...
- [Lynx-dev] styling of colour pairs,
Thorsten Glaser <=