fix leading spaces on items in print_queue function (#14)

This commit is contained in:
Kyle Yasuda 2023-08-09 17:09:02 -07:00 committed by GitHub
parent f0d6143fd2
commit 554dfd3b67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 .. " - (" ..