Merge branch 'NetHack-3.6'

This commit is contained in:
nhmall
2019-07-07 07:14:45 -04:00
7 changed files with 43 additions and 14 deletions

View File

@@ -792,6 +792,13 @@ curses_convert_keys(int key)
/* Handle arrow keys */
switch (key) {
case KEY_BACKSPACE:
/* we can't distinguish between a separate backspace key and
explicit Ctrl+H intended to rush to the left; without this,
a value for ^H greater than 255 is passed back to core's
readchar() and stripping the value down to 0..255 yields ^G! */
ret = C('H');
break;
case KEY_LEFT:
if (iflags.num_pad) {
ret = '4';