summaryrefslogtreecommitdiffstats
path: root/colour.c
AgeCommit message (Collapse)Author
2015-06-05Use ints for the calculations rather than u_char, they could end upnicm
signed.
2015-06-05Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)nicm
like xterm(1) does, by mapping to the nearest in the 256 colour palette.
2015-06-05Use fixed colour tables rather than generated and do a quick search fornicm
exact match before doing the distance comparison.
2015-03-31Fix some format specifier nits, from Ben Boeckel.nicm
2015-02-07Check for \0 in the right place, from J Raynor.nicm
2013-03-27Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott
few and unnecessary.
2012-01-21Add strings to allow the aixterm bright colours to be used whenNicholas Marriott
configuring colours, requested by Elliott Cable a few months ago.
2011-08-22There is no need to use sqrt()/INFINITY here which simplifies the codeNicholas Marriott
and makes it more portable, from Havard Eidnes.
2011-01-08Accept colours of the hex form #ffffff and translate to the nearest fromNicholas Marriott
the xterm(1) 256-colour set.
2009-09-10Permit options such as status-bg to be configured using the entire 256 colourNicholas Marriott
palette by setting "colour0" to "colour255".
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti