mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
input/cmd: add nonrepeatable prefix
This allows forcing certain commands to be non-repeatable, e.g. volume.
This commit is contained in:
1
DOCS/interface-changes/cmd-nonrepeatable.txt
Normal file
1
DOCS/interface-changes/cmd-nonrepeatable.txt
Normal file
@@ -0,0 +1 @@
|
||||
add `nonrepeatable` input command prefix
|
||||
@@ -1818,6 +1818,9 @@ prefixes can be specified. They are separated by whitespace.
|
||||
This prefix forces enabling key repeat in any case. For a list of commands:
|
||||
the first command determines the repeatability of the whole list (up to and
|
||||
including version 0.33 - a list was always repeatable).
|
||||
``nonrepeatable``
|
||||
For some commands, keeping a key pressed runs the command repeatedly.
|
||||
This prefix forces disabling key repeat in any case.
|
||||
``async``
|
||||
Allow asynchronous execution (if possible). Note that only a few commands
|
||||
will support this (usually this is explicitly documented). Some commands
|
||||
|
||||
Reference in New Issue
Block a user