mirror of
https://github.com/tmux/tmux.git
synced 2026-09-21 20:37:42 +00:00
regress: update input-replies.sh's primary DA reply for ENABLE_IMAGES
With ENABLE_IMAGES compiled in, the primary DA reply correctly grows
from "\033[?1;2c" (7 bytes) to "\033[?1;2;4c" (9 bytes), advertising
sixel support. The test still expected the old byte count, so it read
only the first 7 bytes of the new reply and reported the truncation
point as a corrupted terminator. Check #{image_support} and expect
whichever reply matches the build.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -60,7 +60,11 @@ query_timeout()
|
||||
|
||||
query "dsr-ok" '^[[0n' '\033[5n' 4 ''
|
||||
query "dsr-cursor" '^[[1;1R' '\033[6n' 6 ''
|
||||
query "da-primary" '^[[?1;2c' '\033[c' 7 ''
|
||||
if [ "$($TMUX display-message -p '#{image_support}')" = 1 ]; then
|
||||
query "da-primary" '^[[?1;2;4c' '\033[c' 9 ''
|
||||
else
|
||||
query "da-primary" '^[[?1;2c' '\033[c' 7 ''
|
||||
fi
|
||||
query "da-secondary" '^[[>84;0;0c' '\033[>c' 10 ''
|
||||
query "decrqm-irm-reset" '^[[4;2$y' '\033[4$p' 7 ''
|
||||
query "decrqm-irm-set" '^[[4;1$y' '\033[4$p' 7 '\033[4h'
|
||||
|
||||
Reference in New Issue
Block a user