Use '\n' keycode in curses instead of '\r'; src/textadept.c
Win32-curses still uses '\r' since pdcurses reports it.