Hi, I'm trying out ttycast as a way of broadcasting Angband games (http://rephial.org/).
So far it's really great but it doesn't seem to support inverse video, which Angband uses by default for walls. I can work around this but it's a bit ugly.
It seems like ttyrec and ttyplay do support inverting the fg and bg colors, so it seems like the problem is in ttycast (or one of its dependencies). Any ideas on fixing this?
To be specific: the application is printing spaces with a background color of RED, and with A_REVERSE. The result should be solid red, but instead there's solid black.
Seems like the term.js works a bit strangely. It sometimes switch the background color and foreground color, and it sometimes sets the inverse flag on the buffer. Sometimes it does both.
You should see a fix in the next version...
Testcases for self: