packages feed

vty 5.2.9 → 5.2.10

raw patch · 4 files changed

+7/−5 lines, 4 files

Files

src/Graphics/Vty/Attributes.hs view
@@ -49,7 +49,7 @@     { attrStyle :: !(MaybeDefault Style)     , attrForeColor :: !(MaybeDefault Color)     , attrBackColor :: !(MaybeDefault Color)-    } deriving ( Eq, Show )+    } deriving ( Eq, Show, Read )  -- This could be encoded into a single 32 bit word. The 32 bit word is first divided -- into 4 groups of 8 bits where: The first group codes what action should be taken with regards to@@ -103,10 +103,11 @@ data MaybeDefault v where     Default :: MaybeDefault v     KeepCurrent :: MaybeDefault v-    SetTo :: forall v . ( Eq v, Show v ) => !v -> MaybeDefault v+    SetTo :: forall v . ( Eq v, Show v, Read v ) => !v -> MaybeDefault v  deriving instance Eq v => Eq (MaybeDefault v) deriving instance Eq v => Show (MaybeDefault v)+deriving instance (Eq v, Show v, Read v) => Read (MaybeDefault v)  instance Eq v => Monoid ( MaybeDefault v ) where     mempty = KeepCurrent
src/Graphics/Vty/Attributes/Color.hs view
@@ -47,5 +47,5 @@ -- -- Seriously, terminal color support is INSANE. data Color = ISOColor !Word8 | Color240 !Word8-    deriving ( Eq, Show )+    deriving ( Eq, Show, Read ) 
src/Graphics/Vty/Image.hs view
@@ -117,7 +117,8 @@ -- directly to iso10646String or string. --  iso10646String :: Attr -> String -> Image-iso10646String a str = +iso10646String _ [] = EmptyImage+iso10646String a str =     let displayWidth = safeWcswidth str     in HorizText a (TL.pack str) displayWidth (length str) 
vty.cabal view
@@ -1,5 +1,5 @@ name:                vty-version:             5.2.9+version:             5.2.10 license:             BSD3 license-file:        LICENSE author:              AUTHORS