Skip to content

gorozhin/chlorophyll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chlorophyll is a ANSI escape code library for Common Lisp.

Installation

Quicklisp

Set up Quicklisp, load chlorophyll:

(ql:quickload "chlorophyll")

Ultralisp

Set up Quicklisp and Ultralisp, load chlorophyll:

(ql:quickload "chlorophyll")

Usage

(let ((very-peri (chlorophyll:create-rgb-color 102 103 171))
      (hot-pink (chlorophyll:create-rgb-color 255 105 180)))
  (format t "~A~%~A~%" (chlorophyll:bold "overline text")
          (chlorophyll:stylize
           (chlorophyll:new-style
            :bold t
            :foreground hot-pink
            :background very-peri)
           "beautiful text")))

Releases

No releases published

Packages

No packages published