Mercurial > hg > early-roguelike
diff arogue5/mdport.c @ 97:d4bf99f82ea0
arogue5: fix backspace key.
author | John "Elwin" Edwards |
---|---|
date | Wed, 28 Aug 2013 08:37:56 -0700 |
parents | 3192c1e03970 |
children | 2f41b9635c34 |
line wrap: on
line diff
--- a/arogue5/mdport.c Tue Aug 27 22:54:28 2013 -0700 +++ b/arogue5/mdport.c Wed Aug 28 08:37:56 2013 -0700 @@ -1194,6 +1194,9 @@ case ALT_PAD8 : ch = MOD_MOVE('K'); break; case ALT_PAD9 : ch = MOD_MOVE('U'); break; #endif +#ifdef KEY_BACKSPACE + case KEY_BACKSPACE: ch = md_erasechar(); break; +#endif } break;