aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/terminal.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/terminal.go b/widgets/terminal.go
index e83c812f..02775215 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)
}