From 38610c83369aa30561ce273283e31b5eeeb09e4c Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 19 Nov 2015 18:02:02 -0800 Subject: [PATCH] Add `Style`. --- src/Console.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Console.hs b/src/Console.hs index 4a73cfe59..a9b2e4a47 100644 --- a/src/Console.hs +++ b/src/Console.hs @@ -22,3 +22,5 @@ instance Enum Colour where toEnum 36 = Cyan toEnum 37 = White toEnum _ = error "unknown colour code" + +data Style = Normal | Bold | Underline