mpv/player/lua
Kacper Michajłow 08e2acbae1 stats.lua: don't use io.write from builtin script
Scripts and especially internal scripts shouln't bypass msg.c logging
code for various resons, ranging from processing the input, filtering
the log levels, truncating the output and so on. io.write() is lazy way
of outputing to stdout without respecting mpv's logging module.

Uses osd message, because this has no prefixes. Added internal
flush-status-line command to flush current output without clearing
before exiting.

This commit will allow us to remove duplicated terminal handling code
from stats.lua, mpv core already handles all that and does it in better
way, without taking shortcuts.
2024-10-17 22:32:10 +02:00
..
assdraw.lua
auto_profiles.lua auto_profiles.lua: fix some lint warnings 2024-05-12 20:06:39 +02:00
console.lua console.lua: don't clear not ours osd messages 2024-10-17 22:32:10 +02:00
defaults.lua defaults.lua: handle canceled key bindings 2024-06-06 23:38:39 +03:00
fzy.lua scripting: add mp.input.select() 2024-05-07 22:34:22 +02:00
input.lua input.lua,defaults.js: don't hardcode mp.input arguments 2024-10-04 21:13:29 +03:00
meson.build meson: use relative file paths for file2string 2024-09-21 23:39:10 +02:00
options.lua options.lua: fix some lint warnings 2024-05-12 20:06:39 +02:00
osc.lua osc.lua: remove NIH list formatting 2024-10-16 15:10:23 +02:00
select.lua select.lua: don't use add_forced_key_binding 2024-09-19 13:57:39 +00:00
stats.lua stats.lua: don't use io.write from builtin script 2024-10-17 22:32:10 +02:00
ytdl_hook.lua ytdl_hook.lua: always specify --write-srt 2024-10-10 18:28:41 +02:00