File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,13 @@ function M.PreviewImage(absolutePath)
4646 .. " '" .. absolutePath .. " '"
4747 .. " ; pause"
4848 else
49- command = " silent !wezterm cli split-pane -- bash -c 'wezterm imgcat "
50- .. absolutePath
51- .. " ; read'"
49+ command = " silent !wezterm cli split-pane -- bash -c 'wezterm imgcat \" " .. absolutePath .. " \" ; read'"
5250 end
5351 elseif term == ' kitty' then
5452 if vim .fn .has (' win32' ) == 1 or vim .fn .has (' win64' ) == 1 then
5553 print (' Kitty not supported on windows' )
5654 else
57- command = ' silent !kitten @ launch --type=window kitten icat --hold '
58- .. ' \' '
59- .. absolutePath
60- .. ' \' '
55+ command = ' silent !kitten @ launch --type=window kitten icat --hold "' .. absolutePath .. ' "'
6156 end
6257 else
6358 print (' No support for this terminal.' )
You can’t perform that action at this time.
0 commit comments