Skip to content

Commit

Permalink
gh-1466: ANSI FG/BG reset codes did not reset bright intensity.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximus5 committed Mar 6, 2018
1 parent 31329ce commit e960c96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ConEmuHk/Ansi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3121,6 +3121,7 @@ CSI P s @ Insert P s (Blank) Character(s) (default = 1) (ICH)
case 39:
// Reset
gDisplayParm.TextColor = CONFORECOLOR(GetDefaultTextAttr());
gDisplayParm.BrightFore = FALSE;
gDisplayParm.Text256 = FALSE;
gDisplayParm.WasSet = TRUE;
break;
Expand Down Expand Up @@ -3153,6 +3154,7 @@ CSI P s @ Insert P s (Blank) Character(s) (default = 1) (ICH)
case 49:
// Reset
gDisplayParm.BackColor = CONBACKCOLOR(GetDefaultTextAttr());
gDisplayParm.BrightBack = FALSE;
gDisplayParm.Back256 = FALSE;
gDisplayParm.WasSet = TRUE;
break;
Expand Down

0 comments on commit e960c96

Please sign in to comment.