summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-19 14:21:57 +0200
committerwm4 <wm4@nowhere>2014-04-19 14:27:26 +0200
commitd9106779375288323b5c63bc2bab341515f8a60d (patch)
tree4981241df05b4000ae167605a843f65e3e41ca38 /DOCS
parentec18d2468379f496adcabc7a1678bd3e0b823a1e (diff)
downloadmpv-d9106779375288323b5c63bc2bab341515f8a60d.tar.bz2
mpv-d9106779375288323b5c63bc2bab341515f8a60d.tar.xz
input: discard key history when a key is mapped
This is for the sake of multi-key combinations (see github issue #718). Now a multi-key sequence isn't matched if any of the previous keys were actually mapped.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/input.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst
index 2710ad9239..4b9d5f1686 100644
--- a/DOCS/man/en/input.rst
+++ b/DOCS/man/en/input.rst
@@ -58,10 +58,10 @@ It's also possible to bind a command to a sequence of keys:
(This is not shown in the general command syntax.)
-If ``a`` or ``a-b`` or ``b`` are already bound, this will run all commands. It
-doesn't delay key bindings, and it simply considers the past key history on
-any key press. Intermediate keys can be mapped to ``ignore`` in order to avoid
-this issue.
+If ``a`` or ``a-b`` or ``b`` are already bound, this will run the first command
+that matches, and the multi-key command will never be called. Intermediate keys
+can be remapped to ``ignore`` in order to avoid this issue. The maximum number
+of (non-modifier) keys for combinations is currently 4.
List of Input Commands
----------------------