← All packages

ansi-terminal1.1.5

Simple ANSI terminal support

Open the imported Cabal file ↗

author
Max Bolingbroke
build-type
Simple
cabal-version
1.22
category
User Interfaces
extra-source-files
CHANGELOG.md README.md win/include/errors.h win/include/HsWin32.h win/include/winternl_compat.h
homepage
https://github.com/UnkindPartition/ansi-terminal
license
BSD3
license-file
LICENSE
maintainer
Mike Pilgrem <public@pilgrem.com>, Roman Cheplyaka <roma@ro-che.info>
name
ansi-terminal
synopsis
Simple ANSI terminal support
version
1.1.5
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "ansi-terminal",
  "version": "1.1.5",
  "cabalVersion": "1.22",
  "buildType": "Simple",
  "fields": {
    "author": [
      "Max Bolingbroke"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      "1.22"
    ],
    "category": [
      "User Interfaces"
    ],
    "description": [
      "ANSI terminal support for Haskell: allows cursor movement,\nscreen clearing, color output, showing or hiding the\ncursor, and changing the title. Works on UNIX and Windows."
    ],
    "extra-source-files": [
      "CHANGELOG.md\nREADME.md\nwin/include/errors.h\nwin/include/HsWin32.h\nwin/include/winternl_compat.h"
    ],
    "homepage": [
      "https://github.com/UnkindPartition/ansi-terminal"
    ],
    "license": [
      "BSD3"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "Mike Pilgrem <public@pilgrem.com>, Roman Cheplyaka <roma@ro-che.info>"
    ],
    "name": [
      "ansi-terminal"
    ],
    "synopsis": [
      "Simple ANSI terminal support"
    ],
    "version": [
      "1.1.5"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "System.Console.ANSI"
          ],
          "otherModules": [
            "System.Console.ANSI.Internal"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.8.0.0 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "ansi-terminal-types",
              "range": "==1.1.3",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "colour",
              "range": ">=2.1.0",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "reexported-modules": [
              "System.Console.ANSI.Codes\n, System.Console.ANSI.Types"
            ]
          }
        },
        "branches": [
          {
            "condition": {
              "os": "windows"
            },
            "then": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [
                  "System.Console.ANSI.Windows.Foreign",
                  "System.Console.ANSI.Windows.Win32.Types",
                  "System.Console.ANSI.Windows.Win32.MinTTY"
                ],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": {
              "data": {
                "buildable": null,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            }
          }
        ]
      }
    },
    {
      "kind": "executable",
      "name": "ansi-terminal-example",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.8.0.0 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "ansi-terminal",
              "range": "-any",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "colour",
              "range": "-any",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": [
          {
            "condition": {
              "not": {
                "flag": "example"
              }
            },
            "then": {
              "data": {
                "buildable": false,
                "exposedModules": [],
                "otherModules": [],
                "dependencies": [],
                "fields": {}
              },
              "branches": []
            },
            "else": null
          }
        ]
      }
    }
  ],
  "setupDependencies": [],
  "flags": [
    {
      "name": "example",
      "default": false,
      "manual": false,
      "description": "Build the example application"
    }
  ],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "git://github.com/UnkindPartition/ansi-terminal.git"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/ansi-terminal-1.1.5/ansi-terminal.cabal",
  "sha256": "408d9232e5304efead718f96138d6d7eb2da608c6121c5c0dc6a71a833b14320",
  "importedAt": "2026-10-14T12:40:18.059Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.8.0.0 && <5",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "ansi-terminal-types",
      "range": "==1.1.3",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "colour",
      "range": ">=2.1.0",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "base",
      "range": ">=4.8.0.0 && <5",
      "libraries": [
        "main"
      ],
      "component": "executable:ansi-terminal-example",
      "conditions": []
    },
    {
      "package": "ansi-terminal",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "executable:ansi-terminal-example",
      "conditions": []
    },
    {
      "package": "colour",
      "range": "-any",
      "libraries": [
        "main"
      ],
      "component": "executable:ansi-terminal-example",
      "conditions": []
    }
  ],
  "exposedModules": [
    "System.Console.ANSI"
  ],
  "documents": {
    "readme": {
      "status": "available",
      "sha256": "30aaedfac80f232a2015c511f7f04f190b7d774a701e608154f6b0d3bbcf67d5",
      "error": null,
      "checkedAt": "2026-10-14T12:40:18.700Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "f8a0d3721de006df1ff65cc4a2653c91f1d969b699faaadde464babbb1957106",
      "error": null,
      "checkedAt": "2026-10-14T12:40:19.160Z"
    }
  },
  "documentation": {
    "id": "17c0dadf7e2dbf3dfce317d47fc354bddfe3d1b8a63176007c718a2e23d13458",
    "plan_id": "5568ebc75155aef32f7c7091b8e5aa0e119990e6f1b9fb339fc1b67bbb170cab",
    "provenance": "community",
    "diagnostics": 0,
    "created_at": 1791984687
  },
  "versions": [
    {
      "version": "1.1.5",
      "imported_at": "2026-10-14T12:40:18.059Z"
    }
  ]
}

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.