0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/DOCS
Guido Cella 367a6b561a console.lua: close when pressing enter with input.select
When you select an item, due to the submit handler being called
asynchronously, the default item list is redrawn before the console
closes, which is jarring. Fix this by always closing the console as soon
as enter is pressed, as keeping it open is unlikely to be useful with a
fuzzy selector (unlike with input.get() where it can be used e.g. to
implement a Lua REPL). If desired we can later add a close_on_submit
flag defaulting to true.

Also fix a crash when pressing enter without any match.
2024-05-12 23:13:48 +02:00
..
interface-changes player: add option-info/<name>/expects-file 2024-05-12 22:29:40 +02:00
man console.lua: close when pressing enter with input.select 2024-05-12 23:13:48 +02:00
client-api-changes.rst DOCS/client-api-changes.rst: fix formatting 2024-04-18 16:13:57 +02:00
compatibility.rst DOCS/compatibility.rst: add this file 2019-10-05 02:11:55 +02:00
compile-windows.md DOCS/compile-windows.md: update MSYS2 packages 2023-01-28 01:03:12 +00:00
contribute.md DOCS: document the new way to handle interface changes 2024-03-20 22:38:56 +00:00
edl-mpv.rst edl: add a way to add tags 2021-05-11 22:18:40 +02:00
encoding.rst DOCS/encoding: remove the legacy option syntax 2022-07-07 21:12:57 -04:00
interface-changes.rst Release 0.38.0 2024-04-17 21:18:44 +02:00
mplayer-changes.rst DOCS: make mentions of macOS consistent 2024-02-21 20:46:53 +01:00
release-policy.md DOCS: document the new way to handle interface changes 2024-03-20 22:38:56 +00:00
tech-overview.txt DOCS/tech-overview.txt: add builtin.conf to etc/ description 2024-03-11 21:01:01 +01:00