summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/cmd_list.c')
-rw-r--r--input/cmd_list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index c1413f7dd9..e0e307b4c4 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -297,7 +297,8 @@ bool mp_input_is_abort_cmd(struct mp_cmd *cmd)
bool mp_input_is_repeatable_cmd(struct mp_cmd *cmd)
{
return (cmd->def && cmd->def->allow_auto_repeat) ||
- cmd->id == MP_CMD_COMMAND_LIST;
+ cmd->id == MP_CMD_COMMAND_LIST ||
+ (cmd->flags & MP_ALLOW_REPEAT);
}
void mp_print_cmd_list(struct mp_log *out)