ansi-terminal 0.6.2 → 0.6.2.1
raw patch · 3 files changed
+9/−3 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−1
- ansi-terminal.cabal +1/−1
- includes/Common-Include.hs +2/−1
CHANGELOG.md view
@@ -1,8 +1,13 @@ Changes ======= -Version 0.6.2+Version 0.6.2.1 ---------------++Restore compatibility with GHC 7.4 and older++Version 0.6.2+------------- * Add `hSupportsANSI` * Drop support for `base < 4`
ansi-terminal.cabal view
@@ -1,5 +1,5 @@ Name: ansi-terminal-Version: 0.6.2+Version: 0.6.2.1 Cabal-Version: >= 1.6 Category: User Interfaces Synopsis: Simple ANSI terminal support, with Windows compatibility
includes/Common-Include.hs view
@@ -140,4 +140,5 @@ -- (https://github.com/hspec/hspec/commit/d932f03317e0e2bd08c85b23903fb8616ae642bd) hSupportsANSI h = (&&) <$> hIsTerminalDevice h <*> (not <$> isDumb) where- isDumb = maybe False (== "dumb") <$> lookupEnv "TERM"+ -- cannot use lookupEnv since it only appeared in GHC 7.6+ isDumb = maybe False (== "dumb") . lookup "TERM" <$> getEnvironment