Crates.io | colette |
lib.rs | colette |
version | 0.2.0 |
source | src |
created_at | 2024-10-20 11:50:42.717229 |
updated_at | 2024-10-20 11:50:42.717229 |
description | Convert between truecolor, xterm(1) 256 color and 16 color. |
homepage | https://github.com/ifrstr/colette |
repository | https://github.com/ifrstr/colette |
max_upload_size | |
id | 1416169 |
size | 11,048 |
Convert between truecolor, xterm(1) 256 color and 16 color. Single-header library. Arranged from tmux.
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)
Checkout colette.h.
go get gopkg.ilharper.com/x/colette