mirror of
https://github.com/walles/moar.git
synced 2024-08-16 15:30:34 +03:00
Add support for italics
This commit is contained in:
parent
8a3056685c
commit
46881e4519
@ -276,12 +276,18 @@ func _UpdateStyle(style tcell.Style, escapeSequence string) tcell.Style {
|
||||
case "1":
|
||||
style = style.Bold(true)
|
||||
|
||||
case "3":
|
||||
style = style.Italic(true)
|
||||
|
||||
case "4":
|
||||
style = style.Underline(true)
|
||||
|
||||
case "7":
|
||||
style = style.Reverse(true)
|
||||
|
||||
case "23":
|
||||
style = style.Italic(false)
|
||||
|
||||
case "24":
|
||||
style = style.Underline(false)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user