The macro with-screen is the main entry point. It creates the main output window called screen, and passes init options to it.

We now can clear the screen, move the cursor (to the third row and first column), output text at cursor position, set foreground and background colors, text attributes or catch keyboard and mouse events with the macro event-case. Every change to the screen is only displayed after an explicit call to refresh.

Further documentation on features like windows, menus, mouse and input and output options is provided by the docstrings on quickdocs [2], on quickref [3] and in the included examples.