Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)
authornicm <nicm@openbsd.org>
Fri, 5 Jun 2015 22:33:39 +0000 (22:33 +0000)
committernicm <nicm@openbsd.org>
Fri, 5 Jun 2015 22:33:39 +0000 (22:33 +0000)
commitefb8394d276e6982b35fdfbf96a4b9772b82c6c1
tree6d38bfb1499a7620bae32d3c7383e1958f9a65ce
parentf5842a269bf5a26122412a335a2ab7aa377b93d9
Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)
like xterm(1) does, by mapping to the nearest in the 256 colour palette.
usr.bin/tmux/colour.c
usr.bin/tmux/input.c
usr.bin/tmux/tmux.h