Leave newline mode. Disable translation of return into newline on input, and disable low-level translation of newline into newline/return on output.
curses/nonl
nonl