aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/term/cell.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/term/cell.rs')
-rw-r--r--alacritty_terminal/src/term/cell.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/alacritty_terminal/src/term/cell.rs b/alacritty_terminal/src/term/cell.rs
index bb7869b2..92725336 100644
--- a/alacritty_terminal/src/term/cell.rs
+++ b/alacritty_terminal/src/term/cell.rs
@@ -85,6 +85,11 @@ impl GridCell for Cell {
self.flags.remove(Flags::WRAPLINE);
}
}
+
+ #[inline]
+ fn fast_eq(&self, other: Self) -> bool {
+ self.bg == other.bg
+ }
}
/// Get the length of occupied cells in a line