mirror of
https://github.com/alacritty/alacritty.git
synced 2025-04-07 17:43:03 -04:00
Render underline on empty cells
This fixes rendering underlines spanning multiple words.
This commit is contained in:
parent
6cc6086eed
commit
9d44526bf9
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue