contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.32k stars 102 forks source link

Fixes screen destruction on sibling cells when overwriting wide characters #1395

Closed christianparpart closed 6 months ago

christianparpart commented 6 months ago

Refs #1275, #1268.

When writing a wide character, the next cell should be reset with the current SGR plus an additional flag to indicate that the next cell is a continuation cell of its left sibling cell.

But when overwriting such a character, the next cell must be cleared again, too, regardless of the new width.