in reply to Simple Curses Question

Please update your thread to enclose the big chunk of code in <readmore> ... </readmore> tags.

and off topic, how can I enter new lines in this box without typing <br>?
You can't: it's all markup except within <code> ... </code> or <c> ... </c> tags.
Please see Writeup Formatting Tips for more info.