mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-06-13 14:33:17 -04:00
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:
parent
8038adedf0
commit
f66a020bba
1 changed files with 1 additions and 1 deletions
2
csi.c
2
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;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue