From 2160306b312ea206f52a2102f9061c3aebccc50b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 15 Feb 2020 20:01:20 +0100 Subject: 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. --- DOCS/man/lua.rst | 31 ++++++++++++++++--------------- 1 file 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``. -- cgit v1.2.3