Re-render screen after clicking on example box in README

It seems like this is necessary for your example to work.
Is there a way to re-render a portion of the screen instead of the entire thing?
This commit is contained in:
Max Edmands 2013-06-30 10:17:27 -07:00
parent 1d562debc9
commit a39092df49
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ screen.append(box);
box.on('click', function(data) {
box.setContent('{center}Some different {red-fg}content{/red-fg}.{/center}');
screen.render();
});
screen.on('keypress', function(ch, key) {