From f66a020bbae3df4b10030a263571defb5c5ff01d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 4 Jun 2026 09:43:48 +1000 Subject: [PATCH] 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. --- csi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csi.c b/csi.c index 176cc3ac..1f417155 100644 --- a/csi.c +++ b/csi.c @@ -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; /*