rterm 0.0.5

A port of suckless terminal to rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This covers the initial 16 colors, it also support 256 and true color modes
// and a palette of of the colors from 16-255 are generated (see Win::new() in
// win.rs).  The foreground/background and cursor get there own 'slots' after
// the 256 color palette.
pub const COLOR_NAMES: &[&str] = &[
    /* 8 normal colors */
    "black", "red3", "green3", "yellow3", "blue2", "magenta3", "cyan3", "gray90",
    /* 8 bright colors */
    "gray50", "red", "green", "yellow", "#5c5cff", "magenta", "cyan", "white",
];

pub const FG_COLOR: usize = 258;
pub const BG_COLOR: usize = 259;
pub const FG_COLOR_NAME: &str = "grey90";
pub const BG_COLOR_NAME: &str = "black";