From a39092df49960b6a6bc662546b7674035256eb1a Mon Sep 17 00:00:00 2001 From: Max Edmands Date: Sun, 30 Jun 2013 10:17:27 -0700 Subject: [PATCH] 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? --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f74c2fe..163a16b 100644 --- a/README.md +++ b/README.md @@ -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) {