summaryrefslogtreecommitdiffstats
path: root/colour.c
AgeCommit message (Collapse)Author
2023-01-03Query the client terminal for foreground and background colours and ifnicm
OSC 10 or 11 is received but no colour has been set inside tmux, return the colour from the first attached client (probably most people will have all light or or all dark terminals).
2022-03-24Add unit (milliseconds) to escape-time, show unset colours as "none"nicm
rather than "invalid" and don't show the same text twice for user options in customize mode.
2021-11-01Fix a comparison, from Ben Boeckel, and a crash when opening completionnicm
menu, from Anindya Mukherjee.
2021-10-25Add a way to force a colour to RGB and a format to display it.nicm
2021-08-14Do not use NULL palette when clearing.nicm
2021-08-11Break the colour palette into a struct rather than just a single arraynicm
and use that to support the OSC palette-setting sequences in popups. Also add a pane-colours array option to specify the defaults. GitHub issue 2815.
2021-02-15Support X11 colour names and some other variations for OSC 10/11, alsonicm
add OSC 110 and 111. GitHub issue 2567.
2020-08-25Allow colour to be spelt as color, from Boris Verkhovsky. GitHub issuenicm
2317.
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