mirror of
https://github.com/tmux/tmux.git
synced 2026-10-15 16:04:34 +00:00
18 lines
406 B
Bash
Executable File
18 lines
406 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Adapt the PR's Kitty marker check to SIXEL. Native image scrolling must
|
|
# skip the surrounding text repaint as well as image retransmission.
|
|
|
|
PATH=/bin:/usr/bin
|
|
TERM=screen
|
|
export TERM
|
|
[ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux)
|
|
|
|
python3 -B - "$TEST_TMUX" <<'PY'
|
|
import sys
|
|
from image_scroll import check_scroll
|
|
|
|
check_scroll(sys.argv[1], True)
|
|
check_scroll(sys.argv[1], False)
|
|
PY
|