ansi-terminal 0.6.2.2 → 0.6.2.3
raw patch · 3 files changed
+20/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- System/Console/ANSI.hs +14/−0
- ansi-terminal.cabal +1/−1
CHANGELOG.md view
@@ -1,6 +1,11 @@ Changes ======= +Version 0.6.2.3+---------------++Add an example to the haddocks+ Version 0.6.2.2 ---------------
System/Console/ANSI.hs view
@@ -26,6 +26,20 @@ -- Windows ANSI terminal support will only work on Unix. On Windows these codes will always be the empty string, -- so it is possible to use them portably for e.g. coloring console output on the understanding that you will only -- see colors if you are running on a Unix-like operating system.+--+-- Example:+--+-- > -- Set colors and write some text in those colors.+-- > sgrExample :: IO ()+-- > sgrExample = do+-- > setSGR [SetColor Foreground Vivid Red]+-- > setSGR [SetColor Background Vivid Blue]+-- > putStr "Red-On-Blue"+-- > setSGR [Reset]+-- > putStr "White-On-Black"+--+-- For many more examples, see the project's extensive+-- <https://raw.githubusercontent.com/feuerbach/ansi-terminal/master/System/Console/ANSI/Example.hs Example.hs> file. #if defined(WINDOWS) module System.Console.ANSI ( module System.Console.ANSI.Windows
ansi-terminal.cabal view
@@ -1,5 +1,5 @@ Name: ansi-terminal-Version: 0.6.2.2+Version: 0.6.2.3 Cabal-Version: >= 1.6 Category: User Interfaces Synopsis: Simple ANSI terminal support, with Windows compatibility