The actual curses provided textbox has issuses with adding newlines to the toot body when the text wraps to fit, so I've implimented a basic textbox using draw_lines and an internal text body (rather than relying on the curses window contents.