Skip to content

Commit

Permalink
Reverting SGR 21
Browse files Browse the repository at this point in the history
  • Loading branch information
mofux committed Oct 11, 2017
1 parent 12abc87 commit 6ea73c8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/InputHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,6 @@ export class InputHandler implements IInputHandler {
* Ps = 5 -> Blink (appears as Bold).
* Ps = 7 -> Inverse.
* Ps = 8 -> Invisible, i.e., hidden (VT300).
* Ps = 2 1 -> Bold off or Double Underline.
* Ps = 2 2 -> Normal (neither bold nor faint).
* Ps = 2 4 -> Not underlined.
* Ps = 2 5 -> Steady (not blinking).
Expand Down Expand Up @@ -1226,9 +1225,6 @@ export class InputHandler implements IInputHandler {
} else if (p === 2) {
// dimmed text
flags |= FLAGS.DIM;
} else if (p === 21) {
// bold off not widely supported; double underline hardly ever supported.
flags &= ~FLAGS.BOLD;
} else if (p === 22) {
// not bold nor faint
flags &= ~FLAGS.BOLD;
Expand Down

0 comments on commit 6ea73c8

Please sign in to comment.