From 554dfd3b679089a60c5c21279f6aadbccba699c2 Mon Sep 17 00:00:00 2001 From: Kyle Yasuda Date: Wed, 9 Aug 2023 17:09:02 -0700 Subject: [PATCH] fix leading spaces on items in print_queue function (#14) --- mpv-youtube-queue.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mpv-youtube-queue.lua b/mpv-youtube-queue.lua index 533f8da..42e2502 100644 --- a/mpv-youtube-queue.lua +++ b/mpv-youtube-queue.lua @@ -354,8 +354,7 @@ function YouTubeQueue.print_queue(duration) local message for i = start_index, end_index do local prefix = (i == selected_index) and style.cursor .. - options.cursor_icon .. " " .. style.reset or - " " + options.cursor_icon .. style.reset or "\\h\\h\\h" if i == current_index and i == selected_index then message = prefix .. style.hover_selected .. i .. ". " .. video_queue[i].video_name .. " - (" ..