iterm2 xoffset take a pixel value instead of terminal cells
This commit is contained in:
parent
f954552baf
commit
31ea9fd6f4
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2747,7 +2747,7 @@ if [ "$image" != "off" ] && [ "$image" != "ascii" ]; then
|
|||
;;
|
||||
|
||||
"iterm2")
|
||||
printf "\033[${xoffset}C"
|
||||
printf "\033[$((xoffset / font_width))C"
|
||||
printf "%b%s\a\n" "\033]1337;File=width=${image_size}px;height=${image_size}px;inline=1:$(base64 < "$img")"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue