Skip to content

Commit f0d181c

Browse files
committed
ColorMode: derive Read instance
1 parent 897a3a2 commit f0d181c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Graphics/Vty/Attributes/Color.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ data ColorMode
110110
| ColorMode16
111111
| ColorMode240 !Word8
112112
| FullColor
113-
deriving ( Eq, Show )
113+
deriving ( Eq, Show, Read )
114114

115115
black, red, green, yellow, blue, magenta, cyan, white :: Color
116116
black = ISOColor 0

0 commit comments

Comments
 (0)