mirror of
https://github.com/ksyasuda/mpv-youtube-queue.git
synced 2024-10-28 04:44:11 -07:00
fix leading spaces on items in print_queue function (#14)
This commit is contained in:
parent
f0d6143fd2
commit
554dfd3b67
@ -354,8 +354,7 @@ function YouTubeQueue.print_queue(duration)
|
|||||||
local message
|
local message
|
||||||
for i = start_index, end_index do
|
for i = start_index, end_index do
|
||||||
local prefix = (i == selected_index) and style.cursor ..
|
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
|
if i == current_index and i == selected_index then
|
||||||
message = prefix .. style.hover_selected .. i .. ". " ..
|
message = prefix .. style.hover_selected .. i .. ". " ..
|
||||||
video_queue[i].video_name .. " - (" ..
|
video_queue[i].video_name .. " - (" ..
|
||||||
|
Loading…
Reference in New Issue
Block a user