Make saveoptions save changed autocompletions

This commit is contained in:
Pasi Kallinen
2024-04-25 10:13:08 +03:00
parent 91ecf2b167
commit 94dd316e80
4 changed files with 21 additions and 0 deletions

View File

@@ -399,6 +399,7 @@ extern int extcmds_match(const char *, int, int **);
extern const char *key2extcmddesc(uchar);
extern boolean bind_specialkey(uchar, const char *);
extern void parseautocomplete(char *, boolean);
extern void all_options_autocomplete(strbuf_t *);
extern void lock_mouse_buttons(boolean);
extern void reset_commands(boolean);
extern void update_rest_on_space(void);

View File

@@ -21,6 +21,7 @@
#define MOVEMENTCMD 0x0400 /* used to move hero/cursor */
#define MOUSECMD 0x0800 /* cmd allowed to be bound to mouse button */
#define CMD_INSANE 0x1000 /* suppress sanity check (for ^P and ^R) */
#define AUTOCOMP_ADJ 0x2000 /* user changed command autocompletion */
/* flags for extcmds_match() */
#define ECM_NOFLAGS 0