commit | 55b96a5bd5786f162b258c58627deb8e829cabd7 | [log] [download] |
---|---|---|
author | nicm <nicm> | Fri Jun 05 22:33:39 2015 +0000 |
committer | nicm <nicm> | Fri Jun 05 22:33:39 2015 +0000 |
tree | 35c12c94f87ef63f9d6f6571bb4dc8a032e01f2f | |
parent | 1cb073d48efa74b2e593a2beb8f56fbda6f9076a [diff] |
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.