mirror of https://github.com/gdamore/tcell.git
Fix display of 24-bit background with default foreground
This commit is contained in:
parent
a7344e526a
commit
d4838882df
|
@ -487,7 +487,7 @@ func (t *tScreen) sendFgBg(fg Color, bg Color) {
|
|||
int(r), int(g), int(b)))
|
||||
}
|
||||
if bg != ColorDefault && ti.SetBgRGB != "" {
|
||||
r, g, b := fg.RGB()
|
||||
r, g, b := bg.RGB()
|
||||
t.TPuts(ti.TParm(ti.SetBgRGB,
|
||||
int(r), int(g), int(b)))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue