summaryrefslogtreecommitdiffstats
path: root/colour.c
AgeCommit message (Collapse)Author
2019-06-27Add support for underscore colours with Setulc capability, mostly fromnicm
Kai Moschcau.
2019-03-13The pane's style should be initialized to default before parsing thenicm
argument.
2018-10-25Add a "terminal" colour which can be used instead of "default" in stylenicm
options for the terminal default colour, bypassing any inheritance from other options. Prompted by a discussion with abieber@.
2017-03-24Show count of search results in copy mode.nicm
2016-07-15Instead of representing colours in several different forms with variousnicm
cell flags, convert to use an int with flags marking 256 or RGB colours in the top byte (except in cells, which we don't want to make any bigger). From Brad Town.
2016-06-06Much faster (and smaller) method of mapping RGB colour to an xterm(1)nicm
colour, from Avi Halachmi.
2016-01-19I no longer use my SourceForge address so replace it.nicm
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