diff options
Diffstat (limited to 'DOCS/man/lua.rst')
-rw-r--r-- | DOCS/man/lua.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index 8861552562..2900a5393c 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -265,6 +265,11 @@ The ``mp`` module is preloaded, although it can be loaded manually with 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``. |