Subj : Frame that contains all layers?
To   : Kirkman
From : echicken
Date : Fri Aug 21 2015 03:43 pm

 Re: Frame that contains all layers?
 By: Kirkman to echicken on Fri Aug 21 2015 14:07:15

Ki> I finally got a minute to try this, and, yes, .screenShot() seems to
Ki> capture only the child frames, which is exactly what I want.

Okay, if you want to update frame.js and try out Frame.dump(), let me know if
it does what you 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

---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com