I am trying to use blessed, a text UI lib for Node. I'd like to create windows dynamically (free them after use), but I could not find info in the docs about how to destroy them.
I've tried to remove the created Box object from it's parent (the Screen) and drop any references to it, so Node's GC could do the rest, but it doesn't seem to work, presumably a reference is leaking somewhere.
The examples I could find does not do anything like this, they all create a bunch of windows, hide them and show them when needed again.
Has anyone any clue how to do this, or this is not supported?