Skip to content

Commit

Permalink
DOCS/lua: document the closed callback for mp.input.select
Browse files Browse the repository at this point in the history
I wasn't sure if this was useful here but I ended up needing it in
select.lua. The other input.get callbacks still work, but are
undocumented because they are not useful for fuzzy finding.
  • Loading branch information
guidocella committed May 9, 2024
1 parent 708e05e commit 31f9ed6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DOCS/man/lua.rst
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,9 @@ REPL.
the 1-based index of the selected item. You can close the console from
within the callback by calling ``input.terminate()``.

``closed``
A callback invoked when the console is hidden.

Example:

::
Expand Down

0 comments on commit 31f9ed6

Please sign in to comment.