Fix error in test.

This commit is contained in:
Nicholas Marriott
2026-09-02 12:32:29 +01:00
parent ad632726bd
commit 9fa390aee6

View File

@@ -88,7 +88,7 @@ escape=$(printf '\033')
if ! LC_ALL=C grep -Eq "${escape}\\[[0-9]+S" "$off"; then
hex=$(od -An -tx1 -v "$off" | tr -d ' \n')
case "$hex" in
*0a0a0a0a0a0a0a0a0a0a0a0a*) ;;
*0a0a0a0a0a0a0a0a0a0a0a*) ;;
*) fail "clear-on-attach off did not scroll the old contents away" ;;
esac
fi