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

 Re: Frame that contains all layers?
 By: echicken to Kirkman on Fri Aug 21 2015 17:41:01

ec> var dump = frame.dump();
ec> if(typeof dump[y][x] != "undefined")
ec> // There is a visible character here (see dump[y][x].ch, dump[y][x].attr)
ec> else
ec> // 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.

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