1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:17:36 +00:00

Terminal: Avoid dirtying lines when clearing them has no visual effect.

This commit is contained in:
Andreas Kling 2019-02-04 08:53:53 +01:00
parent e88c8eae6a
commit 9126d08a43
2 changed files with 19 additions and 3 deletions

View file

@ -70,6 +70,10 @@ private:
{
return foreground_color == other.foreground_color && background_color == other.background_color;
}
bool operator!=(const Attribute& other) const
{
return !(*this == other);
}
};
struct Line {