Skip to content
Myr

Update ANSI processor to handle "rmso" and "rmul"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #1877

authored by Junegunn Choi · committed by Junegunn Choi · parent 2a60edc · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:src/ansi.go+4 added
241 unmodified lines
242 case 5:243 state.attr = state.attr | tui.Blink244 case 7:245 state.attr = state.attr | tui.Reverse246 case 23: // tput rmso247 state.attr = state.attr &^ tui.Italic248 case 24: // tput rmul249 state.attr = state.attr &^ tui.Underline250 case 0:251 init()252 default:253 if num >= 30 && num <= 37 {
38 unmodified lines