diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2026-06-03 23:43:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2026-06-12 11:55:09 +0000 |
| commit | f66a020bbae3df4b10030a263571defb5c5ff01d (patch) | |
| tree | 672a9eda962fcc6695eff7d95ec04482d547ab79 /csi.c | |
| parent | meson: require xkbcommon >= 1.6.0 (diff) | |
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.
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; /* |
