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:
parent
6b4b35ba1e
commit
9d5cb81410
1 changed files with 1 additions and 1 deletions
|
|
@ -632,7 +632,7 @@ md_readchar(WINDOW *win)
|
||||||
case ALT_PAD9 : ch = CTRL('U'); break;
|
case ALT_PAD9 : ch = CTRL('U'); break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef KEY_BACKSPACE /* NCURSES in Keypad mode sends this for Ctrl-H */
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue