summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c
index 7f9021e35b..54be75c439 100644
--- a/input/input.c
+++ b/input/input.c
@@ -794,7 +794,7 @@ mp_cmd_t *mp_input_parse_cmd(char *str)
"unterminated.\n", cmd_def->name, i + 1);
goto error;
}
- if (*ptr == term)
+ if (*ptr == term || (*ptr == '\t' && term == ' '))
break;
if (*ptr == '\\')
ptr++;