Revert "curses port: accept return on Windows platform"

This reverts commit ac367ef4cc.
This commit is contained in:
nhmall
2018-11-17 21:30:01 -05:00
parent 2829e3f780
commit 816a7dd871

View File

@@ -132,11 +132,6 @@ curses_message_win_puts(const char *message, boolean recursed)
wrefresh(win);
}
#ifdef WIN32
#define XTRA_RESP "\r"
#else
#define XTRA_RESP ""
#endif
int
curses_block(boolean noscroll)
@@ -145,7 +140,8 @@ curses_block(boolean noscroll)
{
int height, width, ret;
WINDOW *win = curses_get_nhwin(MESSAGE_WIN);
char *resp = " \n\033" XTRA_RESP; /* space, enter, esc */
char *resp = " \n\033"; /* space, enter, esc */
curses_get_window_size(MESSAGE_WIN, &height, &width);
curses_toggle_color_attr(win, MORECOLOR, NONE, ON);