Fix terminal underline color not being properly reset
This commit is contained in:
parent
da10ce817e
commit
874f3e0764
|
@ -247,7 +247,7 @@ void TerminalUI::Screen::set_face(const Face& face, Writer& writer)
|
||||||
if (face.attributes & (Attribute)(1 << i))
|
if (face.attributes & (Attribute)(1 << i))
|
||||||
format_with(writer, ";{}", attr_table[i]);
|
format_with(writer, ";{}", attr_table[i]);
|
||||||
}
|
}
|
||||||
m_active_face = Face{{}, {}, face.attributes};
|
m_active_face.fg = m_active_face.bg = Color::Default;
|
||||||
join = true;
|
join = true;
|
||||||
}
|
}
|
||||||
if (m_active_face.fg != face.fg)
|
if (m_active_face.fg != face.fg)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user