Improve therecmdmenu
Turning on herecmd_menu and clicking with mouse is now actually somewhat playable.
This commit is contained in:
@@ -667,6 +667,7 @@ enum cmdq_cmdtypes {
|
||||
CMDQ_KEY = 0, /* a literal character, cmdq_add_key() */
|
||||
CMDQ_EXTCMD, /* extended command, cmdq_add_ec() */
|
||||
CMDQ_DIR, /* direction, cmdq_add_dir() */
|
||||
CMDQ_USER_INPUT, /* placeholder for user input, cmdq_add_userinput() */
|
||||
};
|
||||
|
||||
struct _cmd_queue {
|
||||
|
||||
@@ -253,6 +253,7 @@ extern void set_occupation(int(*)(void), const char *, cmdcount_nht);
|
||||
extern void cmdq_add_ec(int(*)(void));
|
||||
extern void cmdq_add_key(char);
|
||||
extern void cmdq_add_dir(schar, schar, schar);
|
||||
extern void cmdq_add_userinput(void);
|
||||
extern struct _cmd_queue *cmdq_pop(void);
|
||||
extern void cmdq_clear(void);
|
||||
extern char pgetchar(void);
|
||||
|
||||
Reference in New Issue
Block a user