arogue7, xrogue: add support for keypad 5.
Keypad 5 is now equivalent to the '.' key. XRogue does not include md_readchar() and its ability to work around deficiencies in the terminfo entry. So the key will not be recognized in screen/tmux or anywhere else without the kb2 capability. Adding md_readchar() would be more complex than it was for Super-Rogue, since XRogue already does KEY_* interpretation in command().
This commit is contained in:
parent
94b05cac99
commit
d793ca961f
2 changed files with 5 additions and 2 deletions
|
|
@ -344,6 +344,7 @@ command()
|
|||
player.t_action = A_NIL;
|
||||
}
|
||||
when '.' :
|
||||
case KEY_B2 :
|
||||
player.t_no_move = movement(&player); /* Rest */
|
||||
player.t_action = A_NIL;
|
||||
when ' ' : after = FALSE; /* Do Nothing */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue