try not to overwrite every image

This commit is contained in:
Autumn Lamonte 2022-02-04 11:55:22 -06:00
parent aee27fdfb9
commit c645e8a5a0

View file

@ -1749,7 +1749,8 @@ public class ECMA48Terminal extends LogicalScreen
// does not overwrite images.
if (kittyImages
&& ((lCell.isImage() != pCell.isImage())
|| reallyCleared)
|| reallyCleared
|| (lCell.isImage() && !lCell.equals(pCell)))
) {
// Alas, Kitty erases the entire image even if you ask
// for a single cell to be erased, and I've no idea if it