add italics support
Fixes: https://todo.sr.ht/~sircmpwn/aerc2/416 Co-authored-by: JD <john1doe@ya.ru>
This commit is contained in:
parent
03650474e2
commit
3edbe0c67c
|
@ -425,6 +425,9 @@ func (term *Terminal) styleFromCell(cell *vterm.ScreenCell) tcell.Style {
|
|||
if cell.Attrs().Bold != 0 {
|
||||
style = style.Bold(true)
|
||||
}
|
||||
if cell.Attrs().Italic != 0 {
|
||||
style = style.Italic(true)
|
||||
}
|
||||
if cell.Attrs().Underline != 0 {
|
||||
style = style.Underline(true)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue