diff --git a/terminal/tcell/cell_options_test.go b/terminal/tcell/cell_options_test.go index f39f2c7..03b9b92 100644 --- a/terminal/tcell/cell_options_test.go +++ b/terminal/tcell/cell_options_test.go @@ -310,6 +310,21 @@ func TestCellOptsToStyle(t *testing.T) { opts: cell.Options{Underline: true}, want: tcell.StyleDefault.Underline(true), }, + { + colorMode: terminalapi.ColorModeNormal, + opts: cell.Options{Strikethrough: true}, + want: tcell.StyleDefault.StrikeThrough(true), + }, + { + colorMode: terminalapi.ColorModeNormal, + opts: cell.Options{Inverse: true}, + want: tcell.StyleDefault.Reverse(true), + }, + { + colorMode: terminalapi.ColorModeNormal, + opts: cell.Options{Blink: true}, + want: tcell.StyleDefault.Blink(true), + }, } for _, tc := range tests { diff --git a/terminal/termbox/cell_options_test.go b/terminal/termbox/cell_options_test.go index 6c40426..7c76089 100644 --- a/terminal/termbox/cell_options_test.go +++ b/terminal/termbox/cell_options_test.go @@ -60,6 +60,8 @@ func TestCellFontModifier(t *testing.T) { {cell.Options{Underline: true}, tbx.AttrUnderline, false}, {cell.Options{Italic: true}, 0, true}, {cell.Options{Strikethrough: true}, 0, true}, + {cell.Options{Inverse: true}, tbx.AttrReverse, true}, + {cell.Options{Blink: true}, 0, true}, } for _, tc := range tests {