summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-15 20:01:20 +0100
committerwm4 <wm4@nowhere>2020-02-15 20:01:20 +0100
commit2160306b312ea206f52a2102f9061c3aebccc50b (patch)
tree7db878d158a168bf460620a0a54ad58e8a54c434
parent29e15e62487b81b79e6fd0b9ff0710dea35f443e (diff)
downloadmpv-2160306b312ea206f52a2102f9061c3aebccc50b.tar.bz2
mpv-2160306b312ea206f52a2102f9061c3aebccc50b.tar.xz
manpage: fix a case of broken indentation
This renders incorrectly in the html output. I suspect you need one more level here. Increase the indentation level. No other changes, other than re-breaking some lines.
-rw-r--r--DOCS/man/lua.rst31
1 files changed, 16 insertions, 15 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index 829bcafd0c..a9c0e9423e 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -294,21 +294,22 @@ The ``mp`` module is preloaded, although it can be loaded manually with
argument being a table. This table has the following entries (and
may contain undocumented ones):
- ``event``
- Set to one of the strings ``down``, ``repeat``, ``up`` or
- ``press`` (the latter if key up/down can't be tracked).
-
- ``is_mouse``
- Boolean Whether the event was caused by a mouse button.
-
- ``key_name``
- The name of they key that triggered this, or ``nil`` if invoked
- artificially. If the key name is unknown, it's an empty string.
-
- ``key_text``
- Text if triggered by a text key, otherwise ``nil``. See
- description of ``script-binding`` command for details (this
- field is equivalent to the 5th argument).
+ ``event``
+ Set to one of the strings ``down``, ``repeat``, ``up`` or
+ ``press`` (the latter if key up/down can't be tracked).
+
+ ``is_mouse``
+ Boolean Whether the event was caused by a mouse button.
+
+ ``key_name``
+ The name of they key that triggered this, or ``nil`` if
+ invoked artificially. If the key name is unknown, it's an
+ empty string.
+
+ ``key_text``
+ Text if triggered by a text key, otherwise ``nil``. See
+ description of ``script-binding`` command for details (this
+ field is equivalent to the 5th argument).
Internally, key bindings are dispatched via the ``script-message-to`` or
``script-binding`` input commands and ``mp.register_script_message``.