1
0
mirror of https://github.com/gdamore/tcell.git synced 2025-04-24 13:48:51 +08:00

Windows build fix.

This commit is contained in:
Garrett D'Amore 2024-03-05 00:11:19 -08:00
parent 9bc5c636ae
commit 18256bb692

View File

@ -938,7 +938,6 @@ func (s *cScreen) sendVtStyle(style Style) {
} else if uc.Valid() {
_, _ = fmt.Fprintf(esc, vtUnderColor, uc&0xff)
}
}
esc.WriteString(vtUnderline)
// legacy ConHost does not understand these but Terminal does
@ -954,6 +953,7 @@ func (s *cScreen) sendVtStyle(style Style) {
esc.WriteString(vtDashedUnderline)
}
}
if attrs&AttrReverse != 0 {
esc.WriteString(vtReverse)
}