1
1
mirror of https://github.com/walles/moar.git synced 2024-11-22 21:50:43 +03:00

Add support for italics

This commit is contained in:
Johan Walles 2020-04-13 16:43:56 +02:00
parent 8a3056685c
commit 46881e4519

View File

@ -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)