Test for overlong runs of combining characters, GitHub issue 5434.

This commit is contained in:
Nicholas Marriott
2026-07-26 10:02:31 +01:00
parent 29bf7fe2f7
commit 0768795ce3
3 changed files with 40 additions and 0 deletions

View File

@@ -41,5 +41,9 @@ start_pane combining-left 10 3 '\314\201A\n'
check_capture combining-left 'A'
check_cursor combining-left '0,1'
start_pane combining-overflow 10 3 'u\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\314\245\n'
check_raw_matches combining-overflow '^ C 0,0 data=\(1,31,u'
check_raw_no_matches combining-overflow 'data=\(0,'
$TMUX kill-server 2>/dev/null
exit $exit_status