mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-15 21:37:09 +09:00
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user