Replace addstr with setline to prevent crashing.

If scr.addstr has to wrap text at the bottom of a smaller terminal,
then the program throws ncurses.addstr ERR. Using setline prevents this.