Fix #2377: DECCRA: swapped row-bounds check dropping multi-row copies

`dst_bottom > dst_top` holds for every multi-row destination (rows
increase downward), so the guard rejected all multi-row copies. Flip to
`dst_top > dst_bottom`, mirroring the sibling column check and DEC STD 070.
This commit is contained in:
Campbell Barton 2026-06-04 09:43:48 +10:00
parent 4bf60d0fbc
commit 289d30be78

2
csi.c
View file

@ -2020,7 +2020,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
int dst_top = term_row_rel_to_abs(term, dst_rel_top);
int dst_bottom = term_row_rel_to_abs(term, dst_rel_bottom);
if (unlikely(dst_left > dst_right || dst_bottom > dst_top))
if (unlikely(dst_left > dst_right || dst_top > dst_bottom))
break;
/*