Also convert '\n' to SCODE_RET

This commit is contained in:
Aaron Culliney 2017-09-09 18:08:49 -10:00
parent b5b79faf1d
commit 981cff845b

View File

@ -124,7 +124,7 @@ static char key_pressed[ 256 ] = { 0 };
static int scode_map[MAP_SIZE] =
{ -1, -1, -1, -1, -1, -1, -1, -1, /* 00-07 */
SCODE_BS, SCODE_TAB, -1, -1, -1, SCODE_RET, -1, -1, /* 08-15 */
SCODE_BS, SCODE_TAB, SCODE_RET, -1, -1, SCODE_RET, -1, -1, /* 08-15 */
-1, -1, -1, -1, -1, -1, -1, -1, /* 16-23 */
-1, -1, -1, SCODE_ESC, -1, -1, -1, -1, /* 24-31 */
/* */57, /*!*/2 , /*"*/40, /*#*/4 , /*$*/5 , /*%*/6 , /*&*/8 , /*'*/40, /* 32-39 */