summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2026-01-21 14:34:52 -0800
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2026-01-21 14:34:52 -0800
commit302d1dd609837535f3cf4024ae8d8513223fbeae (patch)
tree00cf356cc78331e4dfe9bc200928f552eee9de08 /main.lua
parent15198eb77727b4277d5b5d80fb3ae4b25b3c8ef8 (diff)
downloadmpv-iptv-menu-302d1dd609837535f3cf4024ae8d8513223fbeae.tar.gz
mpv-iptv-menu-302d1dd609837535f3cf4024ae8d8513223fbeae.tar.xz
move icons/symbols to config
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.lua b/main.lua
index 7b649ba..0ee88c7 100644
--- a/main.lua
+++ b/main.lua
@@ -678,7 +678,7 @@ local function add_info_field(dst, k, v, fmt)
-- continuation lines are 4 chars shorter and indented with 2 em spaces
for i, v in ipairs(util.wrap(str, 80, 76)) do
if i > 1 then
- v = '\226\128\131\226\128\131' .. v
+ v = '\xe2\x80\x83\xe2\x80\x83' .. v
end
dst[#dst+1] = {name = v}
end
@@ -928,7 +928,7 @@ end
local function start_search()
local menu = state:menu()
local title = 'Searching: <text_with_cursor>' ..
- ' <colours.info>(<num_matches>/<num_total>)'
+ ' <colour.info>(<num_matches>/<num_total>)'
if menu.type == 'search' then
-- resuming search, save previous state
@@ -957,7 +957,7 @@ local function end_search()
local menu = state:menu()
menu.search_active = false
menu.title = 'Search results: <text>' ..
- ' <colours.info>(<num_matches>/<num_total>)'
+ ' <colour.info>(<num_matches>/<num_total>)'
osd:dirty()
set_key_mapping('MENU')
end