Skip to content

A Racket library to output colored text to the terminal on any platform, including Windows

Notifications You must be signed in to change notification settings

MatijaSi/terminal-color

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terminal-color

A Racket library to output colored text to the terminal on any platform, including Windows.

NOTE: This library is currently in development so things may change before v1.0 is released. The current version should be usable on all platforms with Racket 5.3.6 and 6.x series. Compatability will try to be kept for existing users.

Documentation

A rendered version of the documentation for this library is available via Github Pages:

Example

In short this library provides corresponding procedures for the standard display, displayln, print and write procedures, allowing you to write things like

(require terminal-color)

(displayln-color "1: Default colors")
(displayln-color "2: Green" #:fg 'green)
(displayln-color "3: White on red" #:fg 'white #:bg 'red)

Requirements

It should be possible to install this package as normal using raco on both Racket 5.3.6 and 6.x.

About

A Racket library to output colored text to the terminal on any platform, including Windows

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Racket 96.0%
  • Makefile 4.0%