mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-26 21:00:21 +00:00
stats.lua: clip lines with ${term-clip-cc}
Use the property introduced in bf025cd289 to clip the lines of stats.lua
with accurate unicode width detection and considering --msg-module and
--msg-time. This allows removing the term ellipsis functions.
Also use script-opts-append instead of script-opts in the docs so
script-opts in mpv.conf, which could change keybindings, are not
overriden.
This commit is contained in:
committed by
Kacper Michajłow
parent
f72f6b0fc4
commit
a187110f4a
2
DOCS/interface-changes/stats-term-clip.txt
Normal file
2
DOCS/interface-changes/stats-term-clip.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
remove `stats-term_width_limit` script-opt
|
||||
add `stats-term_clip` script-opt
|
||||
Reference in New Issue
Block a user