aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/term/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/cell.rs b/src/term/cell.rs
index 2cbdf14b..e6b8fc9a 100644
--- a/src/term/cell.rs
+++ b/src/term/cell.rs
@@ -88,7 +88,7 @@ impl Cell {
pub fn is_empty(&self) -> bool {
self.c == ' ' &&
self.bg == Color::Named(NamedColor::Background) &&
- !self.flags.contains(INVERSE)
+ !self.flags.intersects(INVERSE | UNDERLINE)
}
#[inline]