st

my customized branch of st
git clone git://git.jakekoroman.com/st
Log | Files | Refs | README | LICENSE

commit d63f7119a4bd42d37b8ce7a2a6457b139af5c23d
parent 3aaa25522c96afdd76bc4852af0146c802da1e22
Author: Jake Koroman <jake@jakekoroman.com>
Date:   Fri,  3 Oct 2025 10:56:20 -0400

config.def.h: document colours.

Diffstat:
Mconfig.def.h | 40++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -99,32 +99,32 @@ float alpha = 0.8; /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { /* 8 normal colors */ - "black", - "red3", - "green3", - "yellow3", - "blue2", - "magenta3", - "cyan3", - "gray90", + "black", /* 0: black */ + "red3", /* 1: red */ + "green3", /* 2: green */ + "yellow3", /* 3: yellow */ + "blue2", /* 4: blue */ + "magenta3", /* 5: magenta */ + "cyan3", /* 6: cyan */ + "gray90", /* 7: white */ /* 8 bright colors */ - "gray50", - "red", - "green", - "yellow", - "#5c5cff", - "magenta", - "cyan", - "white", + "gray50", /* 8: brblack */ + "red", /* 9: brred */ + "green", /* 10: brgreen */ + "yellow", /* 11: bryellow */ + "#5c5cff", /* 12: brblue */ + "magenta", /* 13: brmagenta */ + "cyan", /* 14: brcyan */ + "white", /* 15: brwhite */ [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", - "gray90", /* default foreground colour */ - "black", /* default background colour */ + "#cccccc", /* default cursor colour */ + "#555555", /* default reverse cursor colour */ + "gray90", /* default foreground colour */ + "black", /* default background colour */ };