player/{lua,javascript}: add mp.utils.terminal_display_width function

This commit is contained in:
Hubert Głuchowski authored and Kacper Michajłow committed 2026-04-21 18:17:22 +02:00
1 parent 6ab49ac5d7
commit c202be1efe
3 files changed
+24

No files matched your search

@@ -0,0 +1,2 @@
add `mp.utils.terminal_display_width()` function that measures the width of
a string in terminal cells