Skip to content

Commit

Permalink
fix leading spaces on items in print_queue function (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyasuda authored Aug 10, 2023
1 parent f0d6143 commit 554dfd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mpv-youtube-queue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 .. " - (" ..
Expand Down

0 comments on commit 554dfd3

Please sign in to comment.