cabal-version: 2.2 name: text-ansi version: 0.2.1 x-revision: 1 category: Data synopsis: Text styling for ANSI terminals. description: Text styling for ANSI terminals using SGR codes, as defined by the standard. . Supports foreground\/background color, bold\/faint intensity, italic, single\/double underline, strikethrough, frame, encircle, and overline escape sequences. Some styles may not work on your terminal. . Also features terminal detection, so redirecting styled output to a file will automatically strip the ANSI escape sequences. author: Mitchell Rosen maintainer: Mitchell Rosen homepage: https://github.com/mitchellwrosen/text-ansi bug-reports: https://github.com/mitchellwrosen/text-ansi/issues 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.4, GHC == 9.6.1 extra-source-files: cabal.project CHANGELOG.md README.md source-repository head type: git location: git://github.com/mitchellwrosen/text-ansi.git library build-depends: base >= 4.9 && < 4.19, text >= 1.0 && < 2.1, text-builder ^>= 0.6.7, default-language: Haskell2010 exposed-modules: String.ANSI Text.ANSI Text.Builder.ANSI Text.Lazy.Builder.ANSI ghc-options: -Weverything -Wno-implicit-prelude -Wno-missing-import-lists -Wno-missing-local-signatures -Wno-unsafe if impl(ghc >= 8.10) ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module hs-source-dirs: src