on develop help sign in
Support GHC 8.8
9960d46Elliot Cameron
reflex-vty.cabal+6−6
@@ -18,7 +18,7 @@ extra-source-files: README.md
18 ChangeLog.md
18 ChangeLog.md
19extra-doc-files: doc/welcome.gif
19extra-doc-files: doc/welcome.gif
20 , doc/tasks.png
20 , doc/tasks.png
21−tested-with: GHC ==8.6.5 || ==8.4.4
21+tested-with: GHC ==8.8.3 || ==8.6.5 || ==8.4.4
22
22
23library
23library
24 exposed-modules: Reflex.Vty
24 exposed-modules: Reflex.Vty
@@ -32,7 +32,7 @@ library
32 , Reflex.Spider.Orphans
32 , Reflex.Spider.Orphans
33 , Control.Monad.NodeId
33 , Control.Monad.NodeId
34 build-depends:
34 build-depends:
35− base >= 4.10.0 && < 4.13,
35+ base >= 4.10.0 && < 4.14,
36 bimap >= 0.3.3 && < 0.4,
36 bimap >= 0.3.3 && < 0.4,
37 containers >= 0.5.0 && < 0.7,
37 containers >= 0.5.0 && < 0.7,
38 mtl >= 2.2.2 && < 2.3,
38 mtl >= 2.2.2 && < 2.3,
@@ -44,11 +44,11 @@ library
44 text-icu >= 0.7 && < 0.8,
44 text-icu >= 0.7 && < 0.8,
45 dependent-sum >= 0.3 && < 0.7,
45 dependent-sum >= 0.3 && < 0.7,
46 exception-transformers >= 0.4.0 && < 0.5,
46 exception-transformers >= 0.4.0 && < 0.5,
47− primitive >= 0.6.3 && < 0.7,
47+ primitive >= 0.6.3 && < 0.8,
48 ref-tf >= 0.4.0 && < 0.5,
48 ref-tf >= 0.4.0 && < 0.5,
49− reflex >= 0.6.2 && < 0.7,
49+ reflex >= 0.6.2 && < 0.8,
50− time >= 1.8.0 && < 1.9,
50+ time >= 1.8.0 && < 1.10,
51− vty >= 5.21 && < 5.26
51+ vty >= 5.21 && < 5.29
52 hs-source-dirs: src
52 hs-source-dirs: src
53 default-language: Haskell2010
53 default-language: Haskell2010
54 ghc-options: -Wall
54 ghc-options: -Wall
src/Reflex/Vty/Host.hs+1−1
@@ -115,7 +115,7 @@ runVtyAppWithHandle vty vtyGuest = flip onException (V.shutdown vty) $
115 -- processed.
115 -- processed.
116 events <- liftIO newChan
116 events <- liftIO newChan
117
117
118− displayRegion0 <- V.displayBounds $ V.outputIface vty
118+ displayRegion0 <- liftIO $ V.displayBounds $ V.outputIface vty
119
119
120 -- Run the vty "guest" application, providing the appropriate context. The
120 -- Run the vty "guest" application, providing the appropriate context. The
121 -- result is a 'VtyResult', and a 'FireCommand' that will be used to
121 -- result is a 'VtyResult', and a 'FireCommand' that will be used to