You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by sergei-grechanik January 1, 2025
Images placed using classic placement commands do not follow the text when it's scrolled with CSI sequences. To reproduce, run this script with an image as the argument:
#!/bin/sh
IMG="$(realpath $1)"printf'\033[100S'# Scroll up by 100printf'\033[1d'# Move cursor to row 0printf'\033[1G'# Move cursor to column 0printf'========= Image ============\n'printf'\033_Gi=1,t=f,q=1,f=100,a=T,r=10,c=20;%s\033\\'"$(printf '%s'"$IMG"| base64 -w0)"printf'<- image\n'printf'1\n'printf'2\n'printf'3\n'
sleep 1
printf'\033[4T'# Scroll down by 4printf'\033[1d'# Move cursor to row 0printf'\033[1G'# Move cursor to column 0
sleep 5
ghostty_bug_scroll.sh images/icons/icon_256.png when running from kitty (the expected behavior):
When running from ghostty:
The text was updated successfully, but these errors were encountered:
Discussed in #4315
Originally posted by sergei-grechanik January 1, 2025
Images placed using classic placement commands do not follow the text when it's scrolled with CSI sequences. To reproduce, run this script with an image as the argument:
ghostty_bug_scroll.sh images/icons/icon_256.png
when running from kitty (the expected behavior):When running from ghostty:
The text was updated successfully, but these errors were encountered: