Skip to content

Commit d59ef46

Browse files
committed
DOCS/man/lua: document how to nest mp.input calls
1 parent 3d980d8 commit d59ef46

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

DOCS/man/lua.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,12 @@ REPL.
931931
``keep_open``
932932
Whether to keep the console open on submit. Defaults to ``false``.
933933

934+
.. warning::
935+
936+
This must be set to ``true`` to nest ``input.get()`` or
937+
``input.select()`` calls.
938+
939+
934940
``opened``
935941
A callback invoked when the console is shown. This can be used to
936942
present a list of options with ``input.set_log()``.
@@ -1027,6 +1033,11 @@ REPL.
10271033
``keep_open``
10281034
Whether to keep the console open on submit. Defaults to ``false``.
10291035

1036+
.. warning::
1037+
1038+
This must be set to ``true`` to nest ``input.get()`` or
1039+
``input.select()`` calls.
1040+
10301041
Example:
10311042

10321043
::

0 commit comments

Comments
 (0)