lib/curses: update documentation

Based on, and closes #230