mirror of
https://github.com/mpv-player/mpv
synced 2025-03-03 12:47:49 +00:00
console.lua: fix mp.input.get clients that don't specify completions
Actually update the rendered text when typing with an input.get client
that didn't specify a complete callback.
Fixes #15430, fixes 57b73f1af6
.
This commit is contained in:
parent
f7e6e30a49
commit
78ee714fff
@ -1444,6 +1444,7 @@ complete = function ()
|
||||
completion_old_cursor = cursor
|
||||
mp.commandv('script-message-to', input_caller, 'input-event',
|
||||
'complete', utils.format_json({line:sub(1, cursor - 1)}))
|
||||
update()
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user