Fix tcell renderer

Fix #2954
pull/2985/head
Junegunn Choi 2 years ago
parent f931e53890
commit 731daf0f37
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -20,6 +20,10 @@ func HasFullscreenRenderer() bool {
}
func asTcellColor(color Color) tcell.Color {
if color == colDefault {
return tcell.ColorDefault
}
value := uint64(tcell.ColorValid) + uint64(color)
if color.is24() {
value = value | uint64(tcell.ColorIsRGB)

Loading…
Cancel
Save