I can iterate over those individual child frames and getData(), but each frame is separate, so where a character is transparent, I'm not getting any data from the frame below.
- Get your layers of frames set up as you've described
- Call .screenshot(system.text_dir + "blah.bin", false) on the parent frame - Open text/blah.bin in an ANSI editor; column width is same as frame width was
If blah.bin has the image that you're expecting (all of the contents of the frames tht were visible at the time), then that's a good start and we can move on from there. I'll make a Frame.dump method that will do what you're looking for.
I finally got a minute to try this, and, yes, .screenShot() seems to capture only the child frames, which is exactly what I want.
var dump = frame.dump();
if(typeof dump[y][x] != "undefined")
// There is a visible character here (see dump[y][x].ch, dump[y][x].attr) else
// This is an empty cell showing only whatever background color applies
On my side it looked like the 'else' line went missing after I posted, but I can see it in the quote above. Anyway, there it is.
|Location:||Riverside County, California|
|Nodes:||13 (1 / 12)|