Get command console output on screen?

I had seen this done but I cant seem to find the post. My app runs in full screen and I would like to get the command console output and display in in text() on screen. How is this done?

@Briarfox Is this what you’re looking for?

http://twolivesleft.com/Codea/Talk/discussion/1371/redirecting-print-to-the-viewer/p1

Thats it, thanks!