Skip to content

Commit d775aaa

Browse files
committed
Fix background colors
1 parent c160895 commit d775aaa

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/Tldr.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ data ConsoleSetting = ConsoleSetting
2424
, fgIntensity :: ColorIntensity
2525
, fgColor :: Color
2626
, bgIntensity :: ColorIntensity
27-
, bgColor :: Color
2827
, consoleIntensity :: ConsoleIntensity
2928
}
3029

@@ -37,7 +36,6 @@ defConsoleSetting =
3736
, fgIntensity = Dull
3837
, fgColor = White
3938
, bgIntensity = Dull
40-
, bgColor = Black
4139
, consoleIntensity = NormalIntensity
4240
}
4341

@@ -54,7 +52,6 @@ toSGR cons =
5452
, SetUnderlining (underline cons)
5553
, SetBlinkSpeed (blink cons)
5654
, SetColor Foreground (fgIntensity cons) (fgColor cons)
57-
, SetColor Background (bgIntensity cons) (bgColor cons)
5855
]
5956

6057
renderNode :: NodeType -> IO ()

0 commit comments

Comments
 (0)