diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/terminal.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go index e83c812..0277521 100644 --- a/widgets/terminal.go +++ b/widgets/terminal.go @@ -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) } |