Skip to content
/ colette Public

Convert between truecolor, xterm(1) 256 color and 16 color.

License

Notifications You must be signed in to change notification settings

ifrstr/colette

Repository files navigation

colette

Go Reference Go Report Card codecov

Convert between truecolor, xterm(1) 256 color and 16 color. Single-header library. Arranged from tmux.

C

Install

Using prebuilt packages:

Download artifacts from Releases, including:

  • The header source

  • Deb package

  • Rpm package

Or using make install:

mkdir build && cd build && cmake .. && make && make install

Or using submodule:

git submodule add --name colette https://github.com/ifrstr/colette.git colette
add_subdirectory(colette)

Usage

Checkout colette.h.

Go

Install

go get gopkg.ilharper.com/x/colette

Usage

Go Reference

LICENSE

ISC, the same as tmux