Skip to content
Myr

Fix tcell renderer

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #2954

authored by Junegunn Choi · committed by Junegunn Choi · parent f931e53 · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:src/tui/tcell.go+4 added
18 unmodified lines
19 return true20}2122func asTcellColor(color Color) tcell.Color {23 if color == colDefault {24 return tcell.ColorDefault25 }2627 value := uint64(tcell.ColorValid) + uint64(color)28 if color.is24() {29 value = value | uint64(tcell.ColorIsRGB)30 }
706 unmodified lines