diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2017-03-26 20:29:10 +0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-03-26 19:58:51 +0200 |
commit | afbd657bb8e955accf8022c96e867973c1fb0a41 (patch) | |
tree | 5a69d480206715caf730263a384916fac5367582 /input/cmd_list.c | |
parent | 6573b73462e336da0daca845ba4df02782afc2b6 (diff) | |
download | mpv-afbd657bb8e955accf8022c96e867973c1fb0a41.tar.bz2 mpv-afbd657bb8e955accf8022c96e867973c1fb0a41.tar.xz |
command: add expand-text command to property-expand a string
Diffstat (limited to 'input/cmd_list.c')
-rw-r--r-- | input/cmd_list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c index 53cc375b3a..33cf40f233 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -97,6 +97,7 @@ const struct mp_cmd_def mp_cmds[] = { { MP_CMD_PRINT_TEXT, "print-text", { ARG_STRING }, .allow_auto_repeat = true }, { MP_CMD_SHOW_TEXT, "show-text", { ARG_STRING, OARG_INT(-1), OARG_INT(0) }, .allow_auto_repeat = true}, + { MP_CMD_EXPAND_TEXT, "expand-text", { ARG_STRING } }, { MP_CMD_SHOW_PROGRESS, "show-progress", .allow_auto_repeat = true}, { MP_CMD_SUB_ADD, "sub-add", { ARG_STRING, OARG_CHOICE(0, ({"select", 0}, {"auto", 1}, {"cached", 2})), |