Fix fg/bg type

pull/232/head
Simon Roberts 3 years ago
parent d213906281
commit 448c2c8e44
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4

@ -274,7 +274,7 @@ func (c *Colorscheme) Color(name string, a ...interface{}) string {
func (c *Colorscheme) Style(name string) tcell.Style {
st := tcell.StyleDefault
st = st.Foreground(c.tcellColor(name + "_fg"))
st = st.Foreground(c.tcellColor(name + "_bg"))
st = st.Background(c.tcellColor(name + "_bg"))
if v, ok := c.colors[name+"_bold"].(bool); ok {
st = st.Bold(v)
}

Loading…
Cancel
Save