Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hopkinsr/terminal-color
A Racket library to output colored text to the terminal on any platform, including Windows
https://github.com/hopkinsr/terminal-color
Last synced: 2 months ago
JSON representation
A Racket library to output colored text to the terminal on any platform, including Windows
- Host: GitHub
- URL: https://github.com/hopkinsr/terminal-color
- Owner: hopkinsr
- Created: 2013-05-06T16:25:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-11-17T17:33:00.000Z (about 8 years ago)
- Last Synced: 2024-08-03T22:06:10.858Z (6 months ago)
- Language: Racket
- Homepage:
- Size: 359 KB
- Stars: 18
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-racket-and-scheme - terminal-color
README
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:
* https://hopkinsr.github.io/terminal-color/
Example
-------In short this library provides corresponding procedures for the standard display, displayln,
print and write procedures, allowing you to write things like```racket
(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.