Colorized output on ANSI terminals and more
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc version 0.1.2 Jul 7, 2015
.gitignore added .gitignore Feb 22, 2015
.travis.yml Use Travis CI (#1) Nov 1, 2017 Add ‘’ Nov 1, 2017 changed mode Feb 12, 2015 new maintainer: update gh pages link Feb 7, 2018
cl-ansi-term.asd Include 2018 into the copyright years range Dec 31, 2017
cl-ansi-term.lisp Include 2018 into the copyright years range Dec 31, 2017


License GPL 3 Build Status Quicklisp

cl-ansi-term allows to print various primitives on ANSI-complaint terminals. It also supports coloration and effects. cl-ansi-term is not something like ncurses, because it works with primitives that you can output in your terminal, as well as redirect to a file. In other words, it's more about good ol' textual interface than emulation of GUI in terminal. An example of user interface created with cl-ansi-term is here.

cl-ansi-term can print the following things:

  • colorized text
  • horizontal lines
  • progress bars
  • unordered lists
  • ordered lists
  • tables

cl-ansi-term uses the concept of style sheet to manage coloration of output. Define styles, give them names, specify foreground colors, background colors, and effects for every style.

The library is capable of detecting whether output goes to a terminal or a file. If the latter case takes place, no escape sequences will be outputted. It's also possible to disable all effects and coloration.


Via Quicklisp (recommended):

(ql:quickload "cl-ansi-term")


See contents of the directory doc. Documentation is also available online:


Copyright © 2015–2018 Mark Karpov

Distributed under GNU GPL, version 3.