packages feed

concurrent-output 1.10.10 → 1.10.11

raw patch · 3 files changed

+26/−3 lines, 3 filesdep ~ansi-terminalPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: ansi-terminal

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -1,3 +1,10 @@+concurrent-output (1.10.11) unstable; urgency=medium++  * Improve documentation of how to use ANSI color codes.+  * Allow ansi-terminal-0.10.++ -- Joey Hess <id@joeyh.name>  Sun, 06 Oct 2019 15:14:42 -0400+ concurrent-output (1.10.10) unstable; urgency=medium    * Allow ansi-terminal-0.9.
System/Console/Regions.hs view
@@ -258,10 +258,26 @@ -- necessary. -- -- The value can include ANSI SGR escape sequences for changing--- the colors etc of all or part of a region.+-- the colors of all or part of a region. For this to display properly,+-- a reset escape sequence must be included to get the color back+-- to default. System.Console.ANSI makes it easy to construct such+-- values. For example:+--+-- > import System.Console.ANSI+-- > +-- > setConsoleRegion region +-- > 	( "hello "+-- > 	<> setSGRCode [SetColor Foreground Vivid Red] +-- >	<> "Mars" +-- >	<> setSGRCode [Reset]+-- > 	<> "!"+-- >	) --  -- Other ANSI escape sequences, especially those doing cursor -- movement, will mess up the layouts of regions. Caveat emptor.+--+-- ANSI SGR escape sequences that span multiple lines do not currently+-- display as you might hope. (Patches would be accepted.) setConsoleRegion :: (ToRegionContent v, LiftRegion m) => ConsoleRegion -> v -> m () setConsoleRegion r v = liftRegion $ 	modifyRegion r $ const $ pure $ toRegionContent v
concurrent-output.cabal view
@@ -1,5 +1,5 @@ Name: concurrent-output-Version: 1.10.10+Version: 1.10.11 Cabal-Version: >= 1.8 License: BSD2 Maintainer: Joey Hess <id@joeyh.name>@@ -38,7 +38,7 @@     , directory (>= 1.2.0 && < 1.4.0)     , transformers (>= 0.3.0 && < 0.6.0)     , exceptions (>= 0.6.0 && < 0.11.0)-    , ansi-terminal (>= 0.9.1 && < 0.10.0)+    , ansi-terminal (>= 0.9.1 && < 0.11.0)     , terminal-size (>= 0.3.0 && < 0.4.0)   Exposed-Modules:     System.Console.Concurrent