vty-crossplatform 0.2.0.0 → 0.3.0.0
raw patch · 3 files changed
+21/−4 lines, 3 filesdep ~vtydep ~vty-windows
Dependency ranges changed: vty, vty-windows
Files
- CHANGELOG.md +7/−0
- src/Graphics/Vty/CrossPlatform/Testing.hs +12/−2
- vty-crossplatform.cabal +2/−2
CHANGELOG.md view
@@ -1,3 +1,10 @@+0.3.0.0+=======++Package changes:+* Updated `vty` lower bound to 6.1. Updated testing code to build with+ 6.1.+ 0.2.0.0 =======
src/Graphics/Vty/CrossPlatform/Testing.hs view
@@ -7,14 +7,24 @@ import Graphics.Vty (Output) #if defined(mingw32_HOST_OS) || defined(__MINGW32__)+ import Graphics.Vty.Platform.Windows.Output (buildOutput) import Graphics.Vty.Platform.Windows.Settings (defaultSettings)++-- | This helper is not intended for end-user consumption; it is exposed+-- only for testing purposes.+mkDefaultOutput :: IO Output+mkDefaultOutput = defaultSettings >>= buildOutput+ #else++import Graphics.Vty.Config (defaultConfig) import Graphics.Vty.Platform.Unix.Output (buildOutput) import Graphics.Vty.Platform.Unix.Settings (defaultSettings)-#endif -- | This helper is not intended for end-user consumption; it is exposed -- only for testing purposes. mkDefaultOutput :: IO Output-mkDefaultOutput = defaultSettings >>= buildOutput+mkDefaultOutput = defaultSettings >>= buildOutput defaultConfig++#endif
vty-crossplatform.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: vty-crossplatform-version: 0.2.0.0+version: 0.3.0.0 synopsis: Cross-platform support for Vty description: This package provides a generic interface for multiple Vty platforms in one package so you don't have to@@ -28,7 +28,7 @@ exposed-modules: Graphics.Vty.CrossPlatform , Graphics.Vty.CrossPlatform.Testing build-depends: base >= 4.8 && < 5,- vty >= 6.0+ vty >= 6.1 if os(darwin) build-depends: vty-unix