fix rest_on_space

When rest_on_space is On, assign same function as for #wait to the
<space> key.  When Off, set that key to Null instead.  Binding some
other command to <space> when rest_on_space is Off doesn't work but
I would classify that as something to be discouraged anyway.
This commit is contained in:
PatR
2022-01-21 15:51:05 -08:00
parent 75fed4b92b
commit 6a72e48a40
4 changed files with 26 additions and 4 deletions

View File

@@ -252,6 +252,7 @@ extern const char *key2extcmddesc(uchar);
extern boolean bind_specialkey(uchar, const char *);
extern void parseautocomplete(char *, boolean);
extern void reset_commands(boolean);
extern void update_rest_on_space(void);
extern void rhack(char *);
extern int doextlist(void);
extern int extcmd_via_menu(void);