mirror of
https://gitlab.com/AutumnMeowMeow/jexer
synced 2024-09-19 11:50:19 -06:00
try not to overwrite every image
This commit is contained in:
parent
aee27fdfb9
commit
c645e8a5a0
1 changed files with 2 additions and 1 deletions
|
@ -1749,7 +1749,8 @@ public class ECMA48Terminal extends LogicalScreen
|
||||||
// does not overwrite images.
|
// does not overwrite images.
|
||||||
if (kittyImages
|
if (kittyImages
|
||||||
&& ((lCell.isImage() != pCell.isImage())
|
&& ((lCell.isImage() != pCell.isImage())
|
||||||
|| reallyCleared)
|
|| reallyCleared
|
||||||
|
|| (lCell.isImage() && !lCell.equals(pCell)))
|
||||||
) {
|
) {
|
||||||
// Alas, Kitty erases the entire image even if you ask
|
// Alas, Kitty erases the entire image even if you ask
|
||||||
// for a single cell to be erased, and I've no idea if it
|
// for a single cell to be erased, and I've no idea if it
|
||||||
|
|
Loading…
Reference in a new issue