packages feed

text-ansi 0.2.1 → 0.2.1.1

raw patch · 4 files changed

+10/−11 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+## [0.2.1.1] - 2023-05-11++- [#6](https://github.com/mitchellwrosen/text-ansi/pull/6) Fix Windows linker errors on GHC 9.4.5++ ## [0.2.1] - 2022-11-05  - Add `String.ANSI` module
src/Text/Builder/ANSI.hs view
@@ -60,8 +60,8 @@ import Text.Builder (Builder) import qualified Text.Builder as Builder import Data.Word (Word8)-import Foreign.C (CInt (CInt)) import System.IO.Unsafe (unsafePerformIO)+import System.Posix.Internals (c_isatty)  -- $intro --@@ -369,9 +369,6 @@ isatty =   unsafePerformIO (c_isatty 1) == 1 {-# NOINLINE isatty #-}--foreign import ccall unsafe "isatty"-  c_isatty :: CInt -> IO CInt  -- Collapse surround/surround to a single surround before phase 1 {-# RULES
src/Text/Lazy/Builder/ANSI.hs view
@@ -61,8 +61,8 @@ import qualified Data.Text.Lazy.Builder as Builder import qualified Data.Text.Lazy.Builder.Int as Builder import Data.Word (Word8)-import Foreign.C (CInt (CInt)) import System.IO.Unsafe (unsafePerformIO)+import System.Posix.Internals (c_isatty)  -- $intro --@@ -370,9 +370,6 @@ isatty =   unsafePerformIO (c_isatty 1) == 1 {-# NOINLINE isatty #-}--foreign import ccall unsafe "isatty"-  c_isatty :: CInt -> IO CInt  -- Collapse surround/surround to a single surround before phase 1 {-# RULES
text-ansi.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2  name: text-ansi-version: 0.2.1+version: 0.2.1.1 category: Data synopsis: Text styling for ANSI terminals. description:@@ -19,10 +19,11 @@ maintainer: Mitchell Rosen <mitchellwrosen@gmail.com> homepage: https://github.com/mitchellwrosen/text-ansi bug-reports: https://github.com/mitchellwrosen/text-ansi/issues-copyright: (c) 2018-2022, Mitchell Rosen+copyright: (c) 2018-2023, Mitchell Rosen license: BSD-3-Clause license-file: LICENSE build-type: Simple+tested-with: GHC == 9.2.7, GHC == 9.4.5, GHC == 9.6.1  extra-source-files:   cabal.project@@ -35,7 +36,7 @@  library   build-depends:-    base >= 4.9 && < 4.18,+    base >= 4.9 && < 4.19,     text >= 1.0 && < 2.1,     text-builder ^>= 0.6.7,   default-language: