This repository has no description
Something went wrong. Try again.
terminal: fix insertBlanks orphaned spacer_tail beyond right margin (#11137) master
When insertBlanks clears the entire region from cursor to the right margin (scroll_amount == 0), a wide character whose head is at the right margin gets cleared but its spacer_tail just beyond the margin is left behind, causing a "spacer tail not following wide" page integrity violation. Move the right-margin wide-char cleanup from inside the scroll_amount > 0 block to before it, so it runs unconditionally — matching the rowWillBeShifted pattern of cleaning up boundary-straddling wide chars up front. Found via AFL++ fuzzing. #11109
Author Mitchell Hashimoto Committer GitHub Date (Mar 2, 2026, 7:32 PM UTC) Commit aa157c09 aa157c09abf6384e38cd4d9c19c35bfab8f7a3b8 Parent 5fa42dd8 5fa42dd80235bf3493d4e8d7d6817597d8f3e1c8