Fix bug in ncurses_ui.c

A newline was added at the wrong column.