tui: fall back to underline for undercurl. #2099

closes #2098
This commit is contained in:
Chase Geigle 2015-03-05 00:12:15 -06:00 committed by Justin M. Keyes
parent 57811dec95
commit da457a176b

View File

@ -239,7 +239,7 @@ static void update_attrs(UI *ui, HlAttrs attrs)
if (attrs.italic) {
unibi_out(ui, unibi_enter_italics_mode);
}
if (attrs.underline) {
if (attrs.underline || attrs.undercurl) {
unibi_out(ui, unibi_enter_underline_mode);
}
if (attrs.reverse) {