mpv
mpv copied to clipboard
console.lua: minor tweaks
commit 1: console.lua: remove the scale script-opt
This is redundant because you can set font_size and border_size to have the same effect.
commit 2: console.lua: minor tweaks
- Remove the opts comments because they are already in console.rst and will become outdated if not updated in both places
- Reuse last_pos in truncate_utf8() instead of recalculating the previous character's position
- Clear the OSD earlier when the console is not active
Download the artifacts for this pull request: