diff --git a/src/command.h b/src/command.h
index d1e8122bc25b74ad5b0ae9ac82bf9a9db11d8e0b..9e8b1664d2475d585be84d71e392753fa26b9d8f 100644 (file)
--- a/src/command.h
+++ b/src/command.h
#include "config.h"
#include <stddef.h>
+#include <stdbool.h>
#ifndef NCMPC_MINI
#include <stdio.h>
CMD_SCREEN_HELP,
CMD_SCREEN_LYRICS,
CMD_SCREEN_OUTPUTS,
+ CMD_SCREEN_CHAT,
CMD_LYRICS_UPDATE,
+ CMD_EDIT,
CMD_INTERRUPT,
CMD_GO_ROOT_DIRECTORY,
CMD_GO_PARENT_DIRECTORY,
#ifdef ENABLE_KEYDEF_SCREEN
command_definition_t *get_command_definitions(void);
+size_t get_cmds_max_name_width(command_definition_t *cmds);
#endif
command_t find_key_command(int key, command_definition_t *cmds);
const char *key2str(int key);
const char *get_key_description(command_t command);
const char *get_key_command_name(command_t command);
-const char *get_key_names(command_t command, int all);
+const char *get_key_names(command_t command, bool all);
command_t get_key_command(int key);
command_t get_key_command_from_name(char *name);
int assign_keys(command_t command, int keys[MAX_COMMAND_KEYS]);