packages feed

vty 5.2.8 → 5.2.9

raw patch · 4 files changed

+35/−25 lines, 4 filesdep ~basedep ~blaze-builderdep ~lens

Dependency ranges changed: base, blaze-builder, lens, utf8-string

Files

CHANGELOG view
@@ -1,3 +1,11 @@+5.2.9+  - dependency version bumps+    - https://github.com/coreyoconnor/vty/pull/71+    - https://github.com/coreyoconnor/vty/pull/70+  - Correct/Simplify the example code+    - Thanks glguy+    - https://github.com/coreyoconnor/vty/pull/69+ 5.2.8   - blaze-builder, lens, utf8-string version constraint bump       - Thanks glguy
src/Graphics/Vty.hs view
@@ -14,16 +14,19 @@ -- See the vty-examples package for a number of examples. -- -- @+--  import "Graphics.Vty"+-- --  main = do---      vty <- 'mkVty' def---      let line0 = 'string' (def `withForeColor` 'green') \"first line\"---          line1 = 'string' (def `withBackColor` 'blue') \"second line\"+--      cfg <- 'standardIOConfig'+--      vty <- 'mkVty' cfg+--      let line0 = 'string' ('defAttr' ` 'withForeColor' ` 'green') \"first line\"+--          line1 = 'string' ('defAttr' ` 'withBackColor' ` 'blue') \"second line\" --          img = line0 '<->' line1 --          pic = 'picForImage' img --      'update' vty pic---      e :: 'Event' <- 'nextEvent' vty+--      e <- 'nextEvent' vty --      'shutdown' vty---      print $ \"Last event was: \" ++ show e+--      'print' (\"Last event was: \" '++' 'show' e) -- @ --  -- Good sources of documentation for terminal programming are:
test/Verify.hs view
@@ -17,7 +17,6 @@               , module Text.Printf               , succeeded               , failed-              , result               , monadicIO               , liftIO               , liftBool
vty.cabal view
@@ -1,5 +1,5 @@ name:                vty-version:             5.2.8+version:             5.2.9 license:             BSD3 license-file:        LICENSE author:              AUTHORS@@ -50,7 +50,7 @@                        deepseq >= 1.1 && < 1.5,                        directory,                        filepath >= 1.0 && < 2.0,-                       lens >= 3.9.0.2 && < 4.9,+                       lens >= 3.9.0.2 && < 5.0,                        -- required for nice installation with yi                        hashable >= 1.2,                        mtl >= 1.1.1.0 && < 2.3,@@ -146,7 +146,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-using-mock-terminal@@ -179,7 +179,7 @@                        text >= 0.11.3,                        terminfo >= 0.3 && < 0.5,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7    test-suite verify-terminal@@ -213,7 +213,7 @@                        terminfo >= 0.3 && < 0.5,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-display-attributes@@ -245,7 +245,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-empty-image-props@@ -271,7 +271,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-eval-terminfo-caps@@ -292,7 +292,7 @@                        QuickCheck >= 2.4,                        random >= 1.0 && < 1.2,                        base >= 4 && < 5,-                       blaze-builder >= 0.3.3.2 && < 0.4,+                       blaze-builder >= 0.3.3.2 && < 0.5,                        bytestring,                        containers,                        deepseq >= 1.1 && < 1.4,@@ -300,7 +300,7 @@                        terminfo >= 0.3 && < 0.5,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-image-ops@@ -328,7 +328,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-image-trans@@ -356,7 +356,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-inline@@ -383,7 +383,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-parse-terminfo-caps@@ -412,7 +412,7 @@                        terminfo >= 0.3 && < 0.5,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7    test-suite verify-simple-span-generation@@ -443,7 +443,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7      @@ -475,7 +475,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7    @@ -507,7 +507,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7  test-suite verify-utf8-width@@ -533,7 +533,7 @@                        mtl >= 1.1.1.0 && < 2.3,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7    test-suite verify-using-mock-input@@ -564,7 +564,7 @@                        terminfo >= 0.3 && < 0.5,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7      ghc-options:         -threaded -Wall@@ -600,7 +600,7 @@                        terminfo >= 0.3 && < 0.5,                        text >= 0.11.3,                        unix,-                       utf8-string >= 0.3 && < 0.4,+                       utf8-string >= 0.3 && < 1.1,                        vector >= 0.7    ghc-options:         -threaded -Wall