<dnkl>
of course, one would have to look at the source code to be sure...
<dnkl>
hmm, it also says "On some systems, NetHack directly maps the 16 internal color codes to RGB colors."
<dnkl>
in which case you could very well end up with a hard-to-see foreground color if they use the default background
<dnkl>
in any case, I think your options are: a) check for nethack config options, b) change your color palette
<dnkl>
b) can done done temporarily, before running nethack, and restored afterwards, using OSC-4 escapes
<phinxy>
Can those OSC-4 codes be copy/pasted?
<phinxy>
I don't know how to type escape codes.
<dnkl>
if you write a shell script wrapper, for launching nethack, you can do "echo -e '\e]4;<idx>;rgb:rr/gg/bb\e\\' to set a color, where <idx> is the color index (0-255), and rr/gg/bb is the RGB hexcode
<dnkl>
e.g. echo -e '\e]4;1;rgb:00/ff/00\e\\' sets RED to green
<dnkl>
echo -e '\e]104\e\\' resets all colors
<phinxy>
Equivalent to setting the 256 colors in foot.ini i presume?
<dnkl>
correct
brocellous has quit [Read error: Connection reset by peer]