vty-crossplatform 0.4.0.0 → 0.5.0.0
raw patch · 3 files changed
+16/−11 lines, 3 filesdep −unknown-vty-build-platformdep ~vty-windows
Dependencies removed: unknown-vty-build-platform
Dependency ranges changed: vty-windows
Files
- CHANGELOG.md +11/−0
- programs/interactive_terminal_test.hs +2/−8
- vty-crossplatform.cabal +3/−3
CHANGELOG.md view
@@ -1,3 +1,14 @@+0.5.0.0+=======++* Addressed a security issue that would have allowed a malicious third+ party to upload a 'unknown-vty-build-platform' package to Hackage to+ introduce malicious code on platforms where 'vty-crossplatform' isn't+ supported. Now, instead of failing to build against a fake package for+ build error readability purposes, 'buildable' is set to 'False' to+ fail the build more directly.+* Updated to work with `vty-windows` 0.2.0.1.+ 0.4.0.0 =======
programs/interactive_terminal_test.hs view
@@ -98,7 +98,7 @@ doTestMenu :: Int -> IO [(String, Bool)] doTestMenu nextID | nextID > length allTests = do- putStrLn $ "Done! If there were problems, feel free to open an issue at https://github.com/jtdaugherty/vty/issues and paste the contents of the file " <> outputFilePath+ putStrLn $ "Done! If there were problems, feel free to open an issue at https://github.com/jtdaugherty/vty-crossplatfrm/issues and paste the contents of the file " <> outputFilePath return [] | otherwise = do displayTestMenu@@ -719,9 +719,6 @@ For instance, one line will be the word "magenta" and that word should be rendered in the magenta color. -I'm not actually sure exactly what "vivid" means in this context. For xterm the-vivid colors are brighter.- Verify: * The first column: The foreground color matches the named color. * The second column: The foreground color matches the named color but is@@ -780,9 +777,6 @@ For instance, one line will contain be the word "magenta" and the word should be rendered in the default foreground color over a magenta background. -I'm not actually sure exactly what "vivid" means in this context. For xterm the-vivid colors are brighter.- Verify: * The first column: The background color matches the named color. * The second column: The background color matches the named color and is@@ -898,7 +892,7 @@ 0. The screen will be cleared. 1. The cursor will be hidden. 2. A 20 character wide and 12 row high block of color squares. This should look like a palette- of some sort. I'm not exactly sure if all color terminals use the same palette. I doubt it...+ of some sort. Verify:
vty-crossplatform.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: vty-crossplatform-version: 0.4.0.0+version: 0.5.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@@ -39,9 +39,9 @@ elif os(solaris) || os(aix) || os(hpux) || os(irix) || os(hurd) build-depends: vty-unix elif os(windows)- build-depends: vty-windows >= 0.2.0.0+ build-depends: vty-windows >= 0.2.0.1 else- build-depends: unknown-vty-build-platform+ Buildable: False executable vty-rogue-demo if !flag(demos)