Skip to content

Commit 3bbf1c3

Browse files
test(web): add issue 8701 scrollback repro fixture
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 7bed190 commit 3bbf1c3

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
# Reproduces #8701: run in a T3 Code terminal, scroll to the top, and note the
3+
# oldest retained T3-SCROLLBACK marker. Compare that marker before and after the
4+
# fix; the scrollback budget is bytes, so which row survives depends on width.
5+
printf '\033c'
6+
cols=$(tput cols 2>/dev/null || printf '?')
7+
i=1
8+
while [ "$i" -le 12000 ]; do
9+
printf 'T3-SCROLLBACK-%05d\n' "$i"
10+
i=$((i+1))
11+
done
12+
printf 'T3-END cols=%s\n' "$cols"

0 commit comments

Comments
 (0)