From d9106779375288323b5c63bc2bab341515f8a60d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 19 Apr 2014 14:21:57 +0200 Subject: 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. --- DOCS/man/en/input.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'DOCS/man/en') 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 ---------------------- -- cgit v1.2.3