Update tcell and support italics in colorschemes

Closes #1640
This commit is contained in:
Zachary Yedidia
2020-05-17 12:48:34 -04:00
parent 0a6720498f
commit d7ab44253f
5 changed files with 11 additions and 6 deletions

View File

@@ -151,6 +151,9 @@ func StringToStyle(str string) tcell.Style {
if strings.Contains(str, "bold") {
style = style.Bold(true)
}
if strings.Contains(str, "italic") {
style = style.Italic(true)
}
if strings.Contains(str, "reverse") {
style = style.Reverse(true)
}