Mercurial > hg > early-roguelike
changeset 98:ea71ef31d9be
srogue: fix backspace key.
Once the full mdport.c is added to srogue, erasechar() will be replaced
with md_erasechar().
author | John "Elwin" Edwards |
---|---|
date | Wed, 28 Aug 2013 18:54:35 -0700 |
parents | d4bf99f82ea0 |
children | dfeed24bb616 |
files | srogue/mdport.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/srogue/mdport.c Wed Aug 28 08:37:56 2013 -0700 +++ b/srogue/mdport.c Wed Aug 28 18:54:35 2013 -0700 @@ -632,7 +632,7 @@ 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 }