srogue: fix backspace key.

Once the full mdport.c is added to srogue, erasechar() will be replaced
with md_erasechar().
This commit is contained in:
John "Elwin" Edwards 2013-08-28 18:54:35 -07:00
parent 6b4b35ba1e
commit 9d5cb81410

View file

@ -632,7 +632,7 @@ md_readchar(WINDOW *win)
case ALT_PAD9 : ch = CTRL('U'); break;
#endif
#ifdef KEY_BACKSPACE /* NCURSES in Keypad mode sends this for Ctrl-H */
case KEY_BACKSPACE: ch = CTRL('H'); break;
case KEY_BACKSPACE: ch = erasechar(); break;
#endif
}