summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-unix.c
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2021-08-18 20:38:35 +0300
committeravih <avih@users.noreply.github.com>2021-08-19 15:39:19 +0300
commit007c728ad27cc9eb3d0315d6d15fd3bc5f055cc5 (patch)
tree808b6627e31f8fb44826579c890e0c752b095448 /osdep/terminal-unix.c
parent8489249af9823e45ce606403b6417f26869fa4a4 (diff)
downloadmpv-007c728ad27cc9eb3d0315d6d15fd3bc5f055cc5.tar.bz2
mpv-007c728ad27cc9eb3d0315d6d15fd3bc5f055cc5.tar.xz
command: cycle: respect the prefix "repeatable"
The "cycle" command _declaration_ enables repeatability by default, however, the command handler applies additional logic to augment it, based on the property which is being cycled - using some guesswork. Specifically, properties with discrete values are not repeatable (like sub or osd-level), while continuous properties are repeatable (like volume). Previously, the "repeatable" prefix could not override this additional logic. This commit changes the behavior so that the logic affects only the default repeatability (still based on the property like before), however, the "repeatable" prefix is now allowed to override it.
Diffstat (limited to 'osdep/terminal-unix.c')
0 files changed, 0 insertions, 0 deletions