dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.10.3 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
pranjal has joined #foot
amk has quit [Ping timeout: 250 seconds]
amk has joined #foot
kitty1 has joined #foot
kitty1 has quit [Quit: WeeChat 3.4]
caveman has quit [Remote host closed the connection]
caveman has joined #foot
pranjal has quit [Ping timeout: 256 seconds]
phinxy has joined #foot
<phinxy> Playing Nethack it uses some weird color outside of the 16 I've chosen, which I can't see because it's too dark. Any solutions?
<phinxy> Tried TERM=console,linux,xtern .. nothing works except vt100 which disables colors entirely.
<phinxy> here's screenshots of me and my dog, there is an item between us which is barely visible: https://ibb.co/album/K0TVqB
<dnkl> phinxy: according to https://nethackwiki.com/wiki/Colors, it shouldn't use anything but the 16 base colors
<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]
brocellous has joined #foot