Allow changing command autocompletions via #optionsfull
This commit is contained in:
@@ -394,8 +394,10 @@ extern char extcmd_initiator(void);
|
||||
extern int doextcmd(void);
|
||||
extern struct ext_func_tab *extcmds_getentry(int);
|
||||
extern int count_bind_keys(void);
|
||||
extern int count_autocompletions(void);
|
||||
extern void get_changed_key_binds(strbuf_t *);
|
||||
extern void handler_rebind_keys(void);
|
||||
extern void handler_change_autocompletions(void);
|
||||
extern int extcmds_match(const char *, int, int **);
|
||||
extern const char *key2extcmddesc(uchar);
|
||||
extern boolean bind_specialkey(uchar, const char *);
|
||||
|
||||
@@ -167,6 +167,8 @@ static int optfn_##a(int, int, boolean, char *, char *);
|
||||
NHOPTB(ascii_map, Advanced, 0, opt_in, set_in_game,
|
||||
ascii_map_Def, Yes, No, No, NoAlias, &iflags.wc_ascii_map,
|
||||
Term_False, "show map as text")
|
||||
NHOPTO("autocompletions", Advanced, o_autocomplete, BUFSZ, opt_in, set_in_game,
|
||||
No, Yes, No, NoAlias, "edit autocompletions")
|
||||
NHOPTB(autodescribe, Advanced, 0, opt_out, set_in_game,
|
||||
On, Yes, No, No, NoAlias, &iflags.autodescribe, Term_False,
|
||||
"describe terrain under cursor")
|
||||
|
||||
Reference in New Issue
Block a user