aboutsummaryrefslogtreecommitdiffstats
path: root/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'command.h')
-rw-r--r--command.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/command.h b/command.h
index 5c449bcb5..d0ec67f24 100644
--- a/command.h
+++ b/command.h
@@ -38,6 +38,7 @@ typedef enum
CMD_SCREEN_PLAY,
CMD_SCREEN_FILE,
CMD_SCREEN_SEARCH,
+ CMD_SCREEN_KEYDEF,
CMD_SCREEN_HELP,
CMD_QUIT
} command_t;
@@ -50,11 +51,14 @@ typedef struct
char *description;
} command_definition_t;
+command_definition_t *get_command_definitions(void);
+command_t find_key_command(int key, command_definition_t *cmds);
void command_dump_keys(void);
int check_key_bindings(void);
int write_key_bindings(FILE *f);
+char *key2str(int key);
char *get_key_description(command_t command);
char *get_key_command_name(command_t command);
char *get_key_names(command_t command, int all);