Skip to content

Commit 1342f64

Browse files
committed
ansi-terminal-0.7.1.1
1 parent df3a9b4 commit 1342f64

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/Text/PrettyPrint/Leijen/Extended.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ instance Display (Doc a) where
162162
type AnsiDoc = Doc AnsiAnn
163163

164164
newtype AnsiAnn = AnsiAnn [SGR]
165-
deriving (Eq, Ord, Show, Monoid)
165+
deriving (Eq, Show, Monoid)
166166

167167
class HasAnsiAnn a where
168168
getAnsiAnn :: a -> AnsiAnn
@@ -297,6 +297,7 @@ data SGRTag
297297
| TagSwapForegroundBackground
298298
| TagColorForeground
299299
| TagColorBackground
300+
| TagRGBColor
300301
deriving (Eq, Ord)
301302

302303
getSGRTag :: SGR -> SGRTag
@@ -309,3 +310,4 @@ getSGRTag SetVisible{} = TagVisible
309310
getSGRTag SetSwapForegroundBackground{} = TagSwapForegroundBackground
310311
getSGRTag (SetColor Foreground _ _) = TagColorForeground
311312
getSGRTag (SetColor Background _ _) = TagColorBackground
313+
getSGRTag SetRGBColor{} = TagRGBColor

stack-nightly.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: nightly-2017-11-25
1+
resolver: nightly-2017-12-06
22
nix:
33
# --nix on the command-line to enable.
44
enable: false
@@ -8,3 +8,4 @@ nix:
88
extra-deps:
99
- bindings-uname-0.1
1010
- unliftio-0.2.0.0
11+
- ansi-terminal-0.7.1.1

stack.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ extra-deps:
2727
- hsc2hs-0.68.2
2828
- hpack-0.20.0
2929
- unliftio-0.2.0.0
30+
- ansi-terminal-0.7.1.1
31+
- ansi-wl-pprint-0.6.8.1

0 commit comments

Comments
 (0)