File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ const (
2626
2727// Text style attributes.
2828const (
29- AttrBold Attribute = Attribute (termbox .AttrBold )
30- AttrUnderline = Attribute (termbox .AttrUnderline )
31- AttrReverse = Attribute (termbox .AttrReverse )
29+ AttrBold Attribute = Attribute (termbox .AttrBold )
30+ AttrUnderline = Attribute (termbox .AttrUnderline )
31+ AttrReverse = Attribute (termbox .AttrReverse )
32+ AttrStrikeThrough = Attribute (9 )
3233)
Original file line number Diff line number Diff line change @@ -218,6 +218,8 @@ func (ei *escapeInterpreter) output256() error {
218218 ei .curFgColor |= AttrUnderline
219219 case p == 7 :
220220 ei .curFgColor |= AttrReverse
221+ case p == 9 :
222+ ei .curFgColor |= AttrStrikeThrough
221223
222224 }
223225 }
You can’t perform that action at this time.
0 commit comments